Delete an Existing Output Channel
About this task
Once you delete an output channel, you cannot use it. Therefore, you must be careful when you want to delete an output channel because all the message history for the output channel must have already expired. We recommend that you carefully assess whether an output channels might still be in use before deleting it.
Note: The default/generic output channel cannot be deleted.
To delete a new output channel, you do not need to configure the SWIFTNet7 Adapter to use the output channel. You just need to enable the SWIFTNet7 Adapter to start the SWIFTNet Server so it can forward the delete request to SWIFT.
This is the sample business process to delete an existing output channel :
<process name="SWIFTNet7DeleteoutputChannel">
<sequence name="SWIFTNetDeleteoutputChannel">
<operation name="set user token">
<participant name="SetUserToken"/>
<output message="SetUserTokenMessage">
<assign to="USER_TOKEN">admin</assign>
<assign to="." from="*"></assign>
</output>
<output message="inmsg">
<assign to="." from="*"></assign>
</output>
</operation>
<!-- build Delete request -->
<!-- W A R N I N G N O T E -->
<!-- Once deleted, the output channel cannot be re-created or used anymore -->
<operation>
<participant name="SWIFTNet7ClientService"/>
<output message="deleteoutputChannelRequest">
<assign to="." from="*"></assign>
<assign to="serverAdapterName">Put a value here</assign>
<assign to="authoriserDN">Put a value here</assign>
<assign to="outputChannelName">Put a value here</assign>
</output>
<output message="deleteoutputChannelResponse">
<assign to="." from="*"/>
</output>
</operation>
<operation name="Receive DeleteoutputChannelSnFResponse">
<participant name="SWIFTNet7ClientService"/>
<output message="handleoutputChannelResponse">
<assign to=""." from="*"
</output>
<output message="outputChannelOut">
<assign to="." from="*">
</output>
</operation>
</sequence>
</process>
To delete an output channel: