インターフェースの使用
org.springframework.integration.dsl.IntegrationFlow
IntegrationFlow を使用するパッケージ
パッケージ
説明
Spring Integration Java DSL のルートパッケージ。
Spring Integration Java DSL のコンテキストサポートクラス。
org.springframework.integration.dsl 内の IntegrationFlow 使用
IntegrationFlow を実装している org.springframework.integration.dsl のクラス修飾子と型クラス説明class
IntegrationFlow
抽象化の基本Adapter
クラス。class
フレームワークによってインスタンス化されたIntegrationFlow
インターフェースの標準実装。修飾子と型メソッド説明<H extends ReactiveMessageHandler>
IntegrationFlowBaseIntegrationFlowDefinition.handleReactive
(ReactiveMessageHandlerSpec<?, H> messageHandlerSpec) 選択したプロトコル固有のMessageHandler
実装のターミナルコンシューマーエンドポイントを、それぞれの名前空間ファクトリから設定します (例:<H extends ReactiveMessageHandler>
IntegrationFlowBaseIntegrationFlowDefinition.handleReactive
(ReactiveMessageHandlerSpec<?, H> messageHandlerSpec, ConsumerSE<GenericEndpointSpec<ReactiveMessageHandlerAdapter>> endpointConfigurer) 選択したプロトコル固有のMessageHandler
実装のターミナルコンシューマーエンドポイントを、それぞれの名前空間ファクトリから設定します (例:BaseIntegrationFlowDefinition.handleReactive
(ReactiveMessageHandler reactiveMessageHandler) ReactiveMessageHandler
をターミナルIntegrationFlow
オペレーターとして追加します。BaseIntegrationFlowDefinition.handleReactive
(ReactiveMessageHandler reactiveMessageHandler, ConsumerSE<GenericEndpointSpec<ReactiveMessageHandlerAdapter>> endpointConfigurer) ReactiveMessageHandler
をターミナルIntegrationFlow
オペレーターとして追加します。BaseIntegrationFlowDefinition.nullChannel()
"nullChannel" Bean を、ターミナルオペレーターとしてこのフロー定義に追加します。BaseIntegrationFlowDefinition.to
(IntegrationFlow other) 他のIntegrationFlow
インスタンスへの委譲でこのフローを終了します。型 IntegrationFlow のパラメーターを持つ org.springframework.integration.dsl のメソッド修飾子と型メソッド説明AbstractRouterSpec.defaultSubFlowMapping
(IntegrationFlow subFlow) 一致する他のマッピングがない場合、ルーターからの出力としてIntegrationFlow
を指定します。FilterEndpointSpec.discardFlow
(IntegrationFlow discardFlow) FilterEndpointSpec.discardChannel(MessageChannel)
の代わりに破棄されたメッセージに対して実行するようにサブフローを構成します。SplitterSpec.discardFlow
(IntegrationFlow discardFlow) SplitterSpec.discardChannel(MessageChannel)
の代わりに破棄されたメッセージに対して実行するようにサブフローを構成します。static IntegrationFlowBuilder
IntegrationFlow.from
(IntegrationFlow other) IntegrationFlow
のコンポジションでフローを開始します。BaseIntegrationFlowDefinition.gateway
(IntegrationFlow flow) 提供されたsubflow
の「人工」GatewayMessageHandler
にデータを入力します。BaseIntegrationFlowDefinition.gateway
(IntegrationFlow flow, ConsumerSE<GatewayEndpointSpec> endpointConfigurer) protected MessageChannel
BaseIntegrationFlowDefinition.obtainInputChannelFromFlow
(IntegrationFlow flow) protected MessageChannel
EndpointSpec.obtainInputChannelFromFlow
(IntegrationFlow subFlow) 提供されたIntegrationFlow
の入力としてMessageChannel
を取得するか、IntegrationFlow
を作成して、提供されたフローを新しいものにラップしてみてください。protected MessageChannel
EndpointSpec.obtainInputChannelFromFlow
(IntegrationFlow subFlow, boolean evaluateInternalBuilder) 提供されたIntegrationFlow
の入力としてMessageChannel
を取得するか、IntegrationFlow
を作成して、提供されたフローを新しいものにラップしてみてください。RecipientListRouterSpec.recipientFlow
(StringSE expression, IntegrationFlow subFlow) 式が "true" と評価された場合に呼び出されるサブフローを追加します。RecipientListRouterSpec.recipientFlow
(Expression expression, IntegrationFlow subFlow) 式が "true" と評価された場合に呼び出されるサブフローを追加します。RecipientListRouterSpec.recipientFlow
(GenericSelector<P> selector, IntegrationFlow subFlow) セレクターの受け入れメソッドが "true" を返した場合に呼び出されるサブフローを追加します。RecipientListRouterSpec.recipientFlow
(IntegrationFlow subFlow) 受信者として呼び出されるサブフローを追加します。RecipientListRouterSpec.recipientMessageSelectorFlow
(MessageSelector selector, IntegrationFlow subFlow) セレクターの受け入れメソッドが "true" を返した場合に呼び出されるサブフローを追加します。EnricherSpec.requestSubFlow
(IntegrationFlow subFlow) リクエストサブフロー。RouterSpec
<K, R> RouterSpec.subFlowMapping
(K key, IntegrationFlow subFlow) RouterSpec.channelMapping(Object, String)
の代わりにサブフローを追加します。BroadcastPublishSubscribeSpec.subscribe
(IntegrationFlow subFlow) 現在のBroadcastCapableChannel
のサブスクライバーとして構成するようにIntegrationFlow
を構成します。PublishSubscribeSpec.subscribe
(IntegrationFlow subFlow) BaseIntegrationFlowDefinition.to
(IntegrationFlow other) 他のIntegrationFlow
インスタンスへの委譲でこのフローを終了します。BaseIntegrationFlowDefinition.wireTap
(IntegrationFlow flow) Wire Tap
EI パターン固有のChannelInterceptor
実装を現在のBaseIntegrationFlowDefinition.currentMessageChannel
に入力します。BaseIntegrationFlowDefinition.wireTap
(IntegrationFlow flow, ConsumerSE<WireTapSpec> wireTapConfigurer) Wire Tap
EI パターン固有のChannelInterceptor
実装を現在のBaseIntegrationFlowDefinition.currentMessageChannel
に入力します。org.springframework.integration.dsl.context 内の IntegrationFlow 使用
型 IntegrationFlow のパラメーターを持つ org.springframework.integration.dsl.context のメソッド修飾子と型メソッド説明IntegrationFlowContext.registration
(IntegrationFlow integrationFlow) アソシエイトは、IntegrationFlow
にIntegrationFlowContext.IntegrationFlowRegistrationBuilder
を提供して、アプリケーションコンテキストでの追加オプションとさらなる登録を実現しました。StandardIntegrationFlowContext.registration
(IntegrationFlow integrationFlow) アソシエイトは、IntegrationFlow
にStandardIntegrationFlowContext.StandardIntegrationFlowRegistrationBuilder
を提供して、アプリケーションコンテキストでの追加オプションとさらなる登録を実現しました。