インターフェースの使用
org.springframework.integration.dsl.IntegrationFlow
IntegrationFlow を使用するパッケージ
パッケージ
説明
Spring Integration Java DSL のルートパッケージ。
Spring Integration Java DSL のコンテキストサポートクラス。
org.springframework.integration.dsl 内の IntegrationFlow 使用
IntegrationFlow を実装している org.springframework.integration.dsl のクラス修飾子と型クラス説明classIntegrationFlow抽象化の基本Adapterクラス。classフレームワークによってインスタンス化されたIntegrationFlowインターフェースの標準実装。修飾子と型メソッド説明<H extends ReactiveMessageHandler>
IntegrationFlowBaseIntegrationFlowDefinition.handleReactive(ReactiveMessageHandlerSpec<?, H> messageHandlerSpec) 選択したプロトコル固有のMessageHandler実装のターミナルコンシューマーエンドポイントを、それぞれの名前空間ファクトリから設定します (例:<H extends ReactiveMessageHandler>
IntegrationFlowBaseIntegrationFlowDefinition.handleReactive(ReactiveMessageHandlerSpec<?, H> messageHandlerSpec, @Nullable ConsumerSE<GenericEndpointSpec<ReactiveMessageHandlerAdapter>> endpointConfigurer) 選択したプロトコル固有のMessageHandler実装のターミナルコンシューマーエンドポイントを、それぞれの名前空間ファクトリから設定します (例:BaseIntegrationFlowDefinition.handleReactive(ReactiveMessageHandler reactiveMessageHandler) ReactiveMessageHandlerをターミナルIntegrationFlowオペレーターとして追加します。BaseIntegrationFlowDefinition.handleReactive(ReactiveMessageHandler reactiveMessageHandler, @Nullable 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 IntegrationFlowBuilderIntegrationFlow.from(IntegrationFlow other) IntegrationFlowのコンポジションでフローを開始します。BaseIntegrationFlowDefinition.gateway(IntegrationFlow flow) 提供されたsubflowの「人工」GatewayMessageHandlerにデータを入力します。BaseIntegrationFlowDefinition.gateway(IntegrationFlow flow, @Nullable ConsumerSE<GatewayEndpointSpec> endpointConfigurer) protected MessageChannelBaseIntegrationFlowDefinition.obtainInputChannelFromFlow(IntegrationFlow flow) protected MessageChannelEndpointSpec.obtainInputChannelFromFlow(IntegrationFlow subFlow) 提供されたIntegrationFlowの入力としてMessageChannelを取得するか、IntegrationFlowを作成して、提供されたフローを新しいものにラップしてみてください。protected MessageChannelEndpointSpec.obtainInputChannelFromFlow(IntegrationFlow subFlow, boolean evaluateInternalBuilder) 提供されたIntegrationFlowの入力としてMessageChannelを取得するか、IntegrationFlowを作成して、提供されたフローを新しいものにラップしてみてください。RecipientListRouterSpec.recipientFlow(@Nullable 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 TapEI パターン固有のChannelInterceptor実装を現在のBaseIntegrationFlowDefinition.currentMessageChannelに入力します。BaseIntegrationFlowDefinition.wireTap(IntegrationFlow flow, @Nullable ConsumerSE<WireTapSpec> wireTapConfigurer) Wire TapEI パターン固有の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を提供して、アプリケーションコンテキストでの追加オプションとさらなる登録を実現しました。