Sending and receiving data through a TCP/IP client connection, delimiting the record by closing the output stream (asynchronous)
Send data through a TCP/IP client connection and receive data back on the same connection (asynchronously), by the use of a message flow with MQInput, TCPIPClientOutput, TCPIPClientInput, and MQOutput nodes.
About this task
Scenario: An application sends asynchronous data between TCP/IP client connections.
Instructions: The following steps describe how to create a message flow to send data through a client connection and wait on the same connection for a reply to be returned. The request is performed asynchronously in two different flows; the TCPIPClientInput node does not wait for data to be returned on this connection, but monitors all available connections. The outgoing record is delimited by closing the output stream, and the reply message is delimited by the remote server closing the input stream. The connection is then completely closed by the node.