public class TcpOutboundChannelAdapterSpec extends MessageHandlerSpec<TcpOutboundChannelAdapterSpec,TcpSendingMessageHandler> implements ComponentsRegistration
修飾子と型 | フィールドと説明 |
---|---|
protected AbstractConnectionFactory | connectionFactory |
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
修飾子 | コンストラクターと説明 |
---|---|
protected | TcpOutboundChannelAdapterSpec(AbstractConnectionFactory connectionFactoryBean) 既存の spring-managed 接続ファクトリを使用してインスタンスを構築します。 |
protected | TcpOutboundChannelAdapterSpec(AbstractConnectionFactorySpec<?,?> connectionFactorySpec) 提供されている接続ファクトリ仕様を使用してインスタンスを構築します。 |
修飾子と型 | メソッドと説明 |
---|---|
TcpOutboundChannelAdapterSpec | clientMode(boolean isClientMode) |
MapSE<ObjectSE, StringSE> | getComponentsToRegister() |
TcpOutboundChannelAdapterSpec | retryInterval(long retryInterval) |
TcpOutboundChannelAdapterSpec | taskScheduler(TaskScheduler taskScheduler) |
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected final AbstractConnectionFactory connectionFactory
protected TcpOutboundChannelAdapterSpec(AbstractConnectionFactory connectionFactoryBean)
connectionFactoryBean
- spring-managed Bean。protected TcpOutboundChannelAdapterSpec(AbstractConnectionFactorySpec<?,?> connectionFactorySpec)
connectionFactorySpec
- スペック。public TcpOutboundChannelAdapterSpec clientMode(boolean isClientMode)
isClientMode
- クライアントモードで接続する場合は trueTcpSendingMessageHandler.setClientMode(boolean)
public TcpOutboundChannelAdapterSpec retryInterval(long retryInterval)
retryInterval
- 設定するクライアントモードの再試行間隔。TcpSendingMessageHandler.setRetryInterval(long)
public TcpOutboundChannelAdapterSpec taskScheduler(TaskScheduler taskScheduler)
taskScheduler
- クライアントモードで接続するためのスケジューラ。IntegrationObjectSupport.setTaskScheduler(TaskScheduler)
public MapSE<ObjectSE,StringSE> getComponentsToRegister()
ComponentsRegistration
の getComponentsToRegister