public class TcpOutboundChannelAdapterSpec extends org.springframework.integration.dsl.MessageHandlerSpec<TcpOutboundChannelAdapterSpec,TcpSendingMessageHandler> implements org.springframework.integration.dsl.ComponentsRegistration
MessageHandlerSpec for TcpSendingMessageHandlers.| Modifier and Type | Field and Description |
|---|---|
protected AbstractConnectionFactory |
connectionFactory |
| Modifier | Constructor and Description |
|---|---|
protected |
TcpOutboundChannelAdapterSpec(AbstractConnectionFactory connectionFactoryBean)
Construct an instance using an existing spring-managed connection factory.
|
protected |
TcpOutboundChannelAdapterSpec(AbstractConnectionFactorySpec<?,?> connectionFactorySpec)
Construct an instance using the provided connection factory spec.
|
| Modifier and Type | Method and Description |
|---|---|
TcpOutboundChannelAdapterSpec |
clientMode(boolean isClientMode) |
java.util.Map<java.lang.Object,java.lang.String> |
getComponentsToRegister() |
TcpOutboundChannelAdapterSpec |
retryInterval(long retryInterval) |
TcpOutboundChannelAdapterSpec |
taskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler) |
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopprotected final AbstractConnectionFactory connectionFactory
protected TcpOutboundChannelAdapterSpec(AbstractConnectionFactory connectionFactoryBean)
connectionFactoryBean - the spring-managed bean.protected TcpOutboundChannelAdapterSpec(AbstractConnectionFactorySpec<?,?> connectionFactorySpec)
connectionFactorySpec - the spec.public TcpOutboundChannelAdapterSpec clientMode(boolean isClientMode)
isClientMode - true to connect in client modeTcpSendingMessageHandler.setClientMode(boolean)public TcpOutboundChannelAdapterSpec retryInterval(long retryInterval)
retryInterval - the client mode retry interval to set.TcpSendingMessageHandler.setRetryInterval(long)public TcpOutboundChannelAdapterSpec taskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
taskScheduler - the scheduler for connecting in client mode.IntegrationObjectSupport.setTaskScheduler(TaskScheduler)public java.util.Map<java.lang.Object,java.lang.String> getComponentsToRegister()
getComponentsToRegister in interface org.springframework.integration.dsl.ComponentsRegistration