TCP inbound gateway
Used to receive TCP/IP byte-messages and send reply messages.
Connection factory
A TCP connection factory is needed by an inbound gateway. The connection factory must be of type server.
Reply timeout
The timeout value (in milliseconds) for receiving reply messages.
Default is 1000
(one second).
Error channel
If a (synchronous) downstream exception is thrown and an error channel is specified, the MessagingException
will be sent to this channel and the ultimate response of the error flow will be returned as a response by the gateway.
If no error channel is specified, any such exception will simply be logged by the gateway. In such a situation, no response is sent to the client.
Client mode
If set to true, causes the gateway to act as a client with respect to establishing the connection, rather than listening for incoming connections.
Requires a "client" connection factory, with single-use set to false.
Default is false.
Retry interval
When in client mode, specifies the retry interval (in milliseconds) if a connection cannot be established.
Default is 60000
(1 minute).
Request channel
Channel where request messages should be sent to.
You can select the nullChannel
here to silently drop the request messages.
Required
Reply channel
Channel to consume the reply messages from.
Required
Id
Name that uniquely identifies this flow component.
Required