Delete an Existing Input Channel
Once you delete an input channel, you cannot use it. Therefore, you must be careful when you want to delete an input channel because all the message history for the input channel must have already expired. We recommend that you carefully assess whether an input channels might still be in use before deleting it.
To delete a new input channel, you do not need to configure the SWIFTNet Server Adapter or SWIFTNet7 Adapter to use the input channel. You just need to enable the SWIFTNet Server Adapter or SWIFTNet7 Adapter to start the SWIFTNet MEFG Server so it can forward the delete request to SWIFT.
This is the sample business process to delete an existing input channel in SWIFTNet 6.x:
<process name="SWIFTNetDeleteInputChannel">
<sequence name="SWIFTNetDeleteInputChannel">
<operation name="set user token">
<participant name="SetUserToken"/>
<output message="SetUserTokenMessage">
<assign to="USER_TOKEN">admin</assign>
<assign to="." from="*"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<!-- build Delete request -->
<!-- W A R N I N G N O T E -->
<!-- Once deleted, the input channel cannot be re-created or used anymore -->
<operation>
<participant name="SWIFTNetClientService"/>
<output message="deleteInputChannelRequest">
<assign to="." from="*"></assign>
<assign to="authoriserDN">Put a value here</assign>
<assign to="inputChannelName">Put a value here</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
</sequence>
</process>
This is the sample business process to delete an existing input channel in SWIFTNet 7:
<process name="SWIFTNet7DeleteInputChannel">
<sequence name="SWIFTNetDeleteInputChannel">
<operation name="set user token">
<participant name="SetUserToken"/>
<output message="SetUserTokenMessage">
<assign to="USER_TOKEN">admin</assign>
<assign to="." from="*"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<!-- build Delete request -->
<!-- W A R N I N G N O T E -->
<!-- Once deleted, the input channel cannot be re-created or used anymore -->
<operation>
<participant name="SWIFTNet7ClientService"/>
<output message="deleteInputChannelRequest">
<assign to="." from="*"></assign>
<assign to="serverAdapterName">Put a value here</assign>
<assign to="authoriserDN">Put a value here</assign>
<assign to="inputChannelName">Put a value here</assign>
</output>
<input message="deleteInputChannelResponse">
<assign to="." from="*"/>
</input>
</operation>
<operation name="Receive DeleteInputChannelSnFResponse">
<participant name="SWIFTNet7ClientService"/>
<output message="handleInputChannelResponse">
<assign to=""." from="*"
</output>
<input message="inputChannelOut">
<assign to="." from="*">
</input>
</operation>
</sequence>
</process>
To delete an input channel: