public class ReactiveStreamsConsumer extends AbstractEndpoint implements IntegrationConsumer
AbstractEndpoint
実装。lifecycleCondition, lifecycleLock
EXPRESSION_PARSER, logger
DEFAULT_PHASE
コンストラクターと説明 |
---|
ReactiveStreamsConsumer(MessageChannel inputChannel, MessageHandler messageHandler) |
ReactiveStreamsConsumer(MessageChannel inputChannel, ReactiveMessageHandler reactiveMessageHandler) 提供された MessageChannel および ReactiveMessageHandler に基づいてエンドポイントをインスタンス化します。 |
ReactiveStreamsConsumer(MessageChannel inputChannel, org.reactivestreams.Subscriber<Message<?>> subscriber) |
修飾子と型 | メソッドと説明 |
---|---|
protected void | doStart() サブクラスは、開始動作でこのメソッドを実装する必要があります。 |
protected void | doStop() サブクラスは、停止動作でこのメソッドを実装する必要があります。 |
MessageHandler | getHandler() コンシューマーのハンドラーを返します。 |
MessageChannel | getInputChannel() 入力チャンネルを返します。 |
MessageChannel | getOutputChannel() 出力チャネルを返します(null の場合があります)。 |
protected void | onInit() サブクラスは、初期化ロジック用にこれを実装できます。 |
void | setErrorHandler(ErrorHandler errorHandler) |
destroy, doStop, getPhase, getRole, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
getBeanName, getComponentName, getComponentType
public ReactiveStreamsConsumer(MessageChannel inputChannel, MessageHandler messageHandler)
public ReactiveStreamsConsumer(MessageChannel inputChannel, org.reactivestreams.Subscriber<Message<?>> subscriber)
public ReactiveStreamsConsumer(MessageChannel inputChannel, ReactiveMessageHandler reactiveMessageHandler)
MessageChannel
および ReactiveMessageHandler
に基づいてエンドポイントをインスタンス化します。inputChannel
- リアクティブに消費するチャネル。reactiveMessageHandler
- メッセージを処理するための ReactiveMessageHandler
。public void setErrorHandler(ErrorHandler errorHandler)
public MessageChannel getInputChannel()
IntegrationConsumer
IntegrationConsumer
の getInputChannel
public MessageChannel getOutputChannel()
IntegrationConsumer
IntegrationConsumer
の getOutputChannel
public MessageHandler getHandler()
IntegrationConsumer
IntegrationConsumer
の getHandler
protected void onInit()
IntegrationObjectSupport
AbstractEndpoint
の onInit
protected void doStart()
AbstractEndpoint
AbstractEndpoint.lifecycleLock
を保持しているときに呼び出されます。AbstractEndpoint
の doStart
protected void doStop()
AbstractEndpoint
AbstractEndpoint.lifecycleLock
を保持しているときに呼び出されます。AbstractEndpoint
の doStop