public class TcpInboundChannelAdapterSpec extends org.springframework.integration.dsl.MessageProducerSpec<TcpInboundChannelAdapterSpec,TcpReceivingChannelAdapter> implements org.springframework.integration.dsl.ComponentsRegistration
MessageProducerSpec for TcpReceivingChannelAdapters.| Modifier and Type | Field and Description |
|---|---|
protected AbstractConnectionFactory |
connectionFactory |
| Modifier | Constructor and Description |
|---|---|
protected |
TcpInboundChannelAdapterSpec(AbstractConnectionFactory connectionFactoryBean)
Construct an instance using an existing spring-managed connection factory.
|
protected |
TcpInboundChannelAdapterSpec(AbstractConnectionFactorySpec<?,?> connectionFactorySpec)
Construct an instance using the provided connection factory spec.
|
| Modifier and Type | Method and Description |
|---|---|
TcpInboundChannelAdapterSpec |
clientMode(boolean isClientMode) |
java.util.Map<java.lang.Object,java.lang.String> |
getComponentsToRegister() |
TcpInboundChannelAdapterSpec |
retryInterval(long retryInterval) |
TcpInboundChannelAdapterSpec |
taskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler) |
autoStartup, errorChannel, errorChannel, errorMessageStrategy, id, outputChannel, outputChannel, phase, sendTimeout, shouldTrack_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopprotected final AbstractConnectionFactory connectionFactory
protected TcpInboundChannelAdapterSpec(AbstractConnectionFactory connectionFactoryBean)
connectionFactoryBean - the spring-managed bean.protected TcpInboundChannelAdapterSpec(AbstractConnectionFactorySpec<?,?> connectionFactorySpec)
connectionFactorySpec - the spec.public TcpInboundChannelAdapterSpec clientMode(boolean isClientMode)
isClientMode - true to connect in client modeTcpReceivingChannelAdapter.setClientMode(boolean)public TcpInboundChannelAdapterSpec retryInterval(long retryInterval)
retryInterval - the client mode retry interval to set.TcpReceivingChannelAdapter.setRetryInterval(long)public TcpInboundChannelAdapterSpec 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