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.

Note: The default/generic input channel cannot be deleted.

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:

  1. Edit the sample business process, SWIFTNetDeleteInputChannel or SWIFTNet7DeleteInputChannel, and supply the following parameters:
    • authoriserDN, which must have at least one RBAC role for store-and-forward.
    • inputChannelName, which must be the existing input channel name.
  2. After you have finished editing, save the business process.
  3. Configure the SWIFTNet Client or SWIFTNet7 Client service and the SWIFTNet Server Adapter or SWIFTNet7 Adapter. You do not have to configure the SWIFTNet Server Adapter or SWIFTNet7 Adapter to use the input channel; instead, you can select False for Use Input Channel.
  4. Enable the SWIFTNet Server Adapter or SWIFTNet7 Adapter, which starts the SWIFTNet MEFG Server. Wait to ensure that the SWIFTNet MEFG Server is started.
  5. Execute the SWIFTNetDeleteInputChannel or SWIFTNet7DeleteInputChannel business process to send the Delete Input Channel request.
  6. Monitor the execution of the business process. If it is successful, you have successfully deleted the new input channel.