Class TcpInboundGateway

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Lifecycle, Phased, SmartLifecycle, ComponentSourceAware, ExpressionCapable, OrderlyShutdownCapable, IntegrationPattern, ClientModeCapable, TcpListener, TcpSender, NamedComponent, IntegrationInboundManagement, IntegrationManagement, ManageableLifecycle, ManageableSmartLifecycle, TrackableComponent

@Deprecated(forRemoval=true, since="7.0") public class TcpInboundGateway extends TcpInboundGateway
Deprecated, for removal: This API element is subject to removal in a future version.
since 7.0 in favor or TcpInboundGateway
Inbound Gateway using a server connection factory - threading is controlled by the factory. For java.net connections, each socket can process only one message at a time. For java.nio connections, messages may be multiplexed but the client will need to provide correlation logic. If the client is a TcpOutboundGateway multiplexing is not used, but multiple concurrent connections can be used if the connection factory uses single-use connections. For true asynchronous bidirectional communication, a pair of inbound / outbound channel adapters should be used.
Since:
2.0
Author:
Gary Russell, Artem Bilan
  • Constructor Details

    • TcpInboundGateway

      public TcpInboundGateway()
      Deprecated, for removal: This API element is subject to removal in a future version.