Configure the Sterling B2B Integrator to Retrieve Messages

About this task

Complete these steps to configure the Sterling B2B Integrator to retrieve messages from SWIFTNet through SAA and MQSA:

Note: See WebSphere® MQ Adapter and WebSphere MQ Suite documentation for more details on the general MQ options.

To Configure an MQ Adapter service instance:

Procedure

  1. Go to Deployment > Services > Configuration.
  2. Next to New Service, click Go!.
  3. Select WebSphere MQ Adapter and click Next.
  4. Type a name for the service and a description, and click Next.
  5. On the “WebSphere MQ Parameters page, type the following information and click Next:
    • Set Host Name to the name or IP address of the machine hosting the WebSphere MQ that receives messages from SWIFT.
    • Set Listening Port to the port number for the MQ installation (if it is something other than the default).
    • Set Queue Manager to the name of the queue manager that contains the SWIFTNet message queues.
    • Set Queue Name to the name of the queue set up to receive messages from SWIFT.
    • Set Server Connection Channel to the name of the connection channel associated with the queue manager.
    • Set User ID and Password to the login information for the queue that is configured to receive messages, if required.
    • Select the Receiving messages from WebSphere MQ (Sync) or Receiving messages from WebSphere MQ (Async) option, depending which mode you wish to use.
    • Set the other parameters based on the specific MQ configuration desired.
  6. Click Finish to save the configuration.
  7. Create a business process to retrieve the messages. The following example business process retrieves a message from MQ in synchronous mode, assuming the service configuration FromSAA was created in step 1. Optional parameters have been set to make the business process wait for up to 10 seconds for a message to appear before timing out:
    
    <process name="FromSAABP">
       <operation name="WebSphere MQ Adapter">
          <participant name="FromSAA"/>
          <output message="WebsphereMQInputMessage">
             <assign to="." from="*"></assign>
             <assign to="rcv_MQGMO_wait">Yes</assign>
             <assign to="rcv_MQGMO_waitInterval">10000</assign>
          </output>
          <input message="inmsg">
             <assign to="." from="*"></assign>
          </input>
       </operation>
    </process>