Establishing a client session over a TCP/IP connection
Configure a TCPIPClientInput node to open a session over an existing TCP/IP connection, before any data is sent or received.
About this task
You can use the Open terminal of the TCPIPClientInput node to enable processing to start when a connection is opened, rather than when data first arrives. If the Open terminal is connected, an empty message is sent to the Open terminal when a connection is created. This message has the local environment set to the connection details.
The connection associated with the message is reserved from the general connection pool until propagation to the Open terminal has finished. However, the connection can be accessed using the connectionId specified in the local environment. Each connection that is created is sent to the Open terminal, including any connections that are created mid-flow by a TCPIPClientReceive node or TCPIPClientOutput node.
If the Open terminal is not attached, open events are automatically made available in the connection pool.
The following steps show how to configure a message flow that contains a TCPIPClientInput node, with the Open terminal configured to start processing when a TCP/IP connection is created.