Configuring a client socket to store reply correlation details

Configure a client TCP/IP socket to store reply correlation details, by the use of a message flow with MQInput and TCPIPClientOutput nodes.

About this task

Scenario: A client TCP/IP socket is configured to store response returned on the input stream.

Instructions: The following steps show how to set the Reply ID on a connection, which can be used when a response is returned on the input stream:

Procedure

  1. Create a message flow called TCPIP_Task14 with an MQInput node and a TCPIPClientOutput node.
    For more information, see Creating a message flow.
  2. Connect the Out terminal of the MQInput node to the In terminal of the TCPIPClientOutput node.
    MQInput node connected to a TCPIPClientOutput node.
  3. On the MQInput node, set the Queue name property (on the Basic tab) to TCPIP.TASK14.IN1.
  4. Set the following properties of the TCPIPClientOutput node:
    1. On the Basic tab, set the Connection details property to 14154.
    2. On the Request tab, set the Reply ID location property to $Root/MQMD/MsgId.
  5. Save the message flow.