public final class IntegrationFlows extends ObjectSE
IntegrationFlowBuilder API の主要ファクトリ。IntegrationFlowBeanPostProcessorcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic static IntegrationFlowBuilder from(StringSE messageChannelName)
messageChannelName - 既存の MessageChannel Bean の名前。この名前の Bean がない場合、新しい DirectChannel Bean はコンテキストの起動時に作成されます。IntegrationFlowBuilder。public static IntegrationFlowBuilder from(StringSE messageChannelName, boolean fixedSubscriber)
MessageChannel 名を新しい IntegrationFlowBuilder チェーンに入力します。通常、FixedSubscriberChannel と fixedSubscriber = true の場合。IntegrationFlow inputChannel。messageChannelName - 参照ではなく、コンテキストの起動時に作成される DirectChannel または FixedSubscriberChannel の名前。MessageChannel は、fixedSubscriber ブール引数に依存します。fixedSubscriber - 結果 MessageChannel が DirectChannel(false の場合)または FixedSubscriberChannel(true の場合)であるかどうかを判別するためのブールフラグ。IntegrationFlowBuilder。DirectChannel, FixedSubscriberChannelpublic static IntegrationFlowBuilder from(MessageChannelSpec<?,?> messageChannelSpec)
MessageChannelSpec の流れるような API を使用して、MessageChannel オブジェクトを IntegrationFlowBuilder チェーンに移入します。IntegrationFlow inputChannel。messageChannelSpec - MessageChannelSpec を使用して MessageChannel インスタンスを作成します。IntegrationFlowBuilder。MessageChannelspublic static IntegrationFlowBuilder from(MessageChannel messageChannel)
messageChannel - 投入する MessageChannelIntegrationFlowBuilder。public static IntegrationFlowBuilder from(MessageSourceSpec<?,? extends MessageSource<?>> messageSourceSpec)
MessageSourceSpec からの流れるような API を使用して、MessageSource オブジェクトを IntegrationFlowBuilder チェーンに移入します。IntegrationFlow startMessageSource。messageSourceSpec - 使用する MessageSourceSpec。IntegrationFlowBuilder。and its implementations.public static IntegrationFlowBuilder from(MessageSourceSpec<?,? extends MessageSource<?>> messageSourceSpec, java.util.function.ConsumerSE<SourcePollingChannelAdapterSpec> endpointConfigurer)
MessageSourceSpec からの流れるような API を使用して、MessageSource オブジェクトを IntegrationFlowBuilder チェーンに移入します。IntegrationFlow startMessageSource。messageSourceSpec - 使用する MessageSourceSpec。endpointConfigurer - ConsumerSE は、SourcePollingChannelAdapterFactoryBean により多くのオプションを提供します。IntegrationFlowBuilder。MessageSourceSpec, SourcePollingChannelAdapterSpecpublic static <T> IntegrationFlowBuilder fromSupplier(java.util.function.SupplierSE<T> messageSource)
SupplierSE を提供します。T - サプライヤー型。messageSource - 投入する SupplierSEIntegrationFlowBuilder。SupplierSEpublic static <T> IntegrationFlowBuilder fromSupplier(java.util.function.SupplierSE<T> messageSource, java.util.function.ConsumerSE<SourcePollingChannelAdapterSpec> endpointConfigurer)
SupplierSE を提供します。これは、 提供された SourcePollingChannelAdapter によってトリガーされます。T - サプライヤー型。messageSource - 投入する SupplierSEendpointConfigurer - ConsumerSE は、SourcePollingChannelAdapterFactoryBean により多くのオプションを提供します。IntegrationFlowBuilder。SupplierSEpublic static IntegrationFlowBuilder from(MessageSource<?> messageSource)
messageSource - 投入する MessageSourceIntegrationFlowBuilder。MessageSourcepublic static IntegrationFlowBuilder from(MessageSource<?> messageSource, @Nullable java.util.function.ConsumerSE<SourcePollingChannelAdapterSpec> endpointConfigurer)
MessageSource オブジェクトを IntegrationFlowBuilder チェーンに移入します。IntegrationFlow startMessageSource。さらに、SourcePollingChannelAdapterSpec を使用して、基礎となる SourcePollingChannelAdapter エンドポイントのオプションを提供します。messageSource - 投入する MessageSourceendpointConfigurer - ConsumerSE は、SourcePollingChannelAdapterFactoryBean により多くのオプションを提供します。IntegrationFlowBuilder。MessageSource, SourcePollingChannelAdapterSpecpublic static IntegrationFlowBuilder from(MessageProducerSpec<?,?> messageProducerSpec)
MessageProducerSpec からの流れるような API を使用して、MessageProducerSupport オブジェクトを IntegrationFlowBuilder チェーンに移入します。IntegrationFlow startMessageProducer。messageProducerSpec - 使用する MessageProducerSpec。IntegrationFlowBuilder。MessageProducerSpecpublic static IntegrationFlowBuilder from(MessageProducerSupport messageProducer)
MessageProducerSupport オブジェクトを IntegrationFlowBuilder チェーンに移入します。IntegrationFlow startMessageProducer。messageProducer - 投入する MessageProducerSupportIntegrationFlowBuilder。public static IntegrationFlowBuilder from(MessagingGatewaySpec<?,?> inboundGatewaySpec)
MessagingGatewaySpec からの流れるような API を使用して、MessagingGatewaySupport オブジェクトを IntegrationFlowBuilder チェーンに移入します。IntegrationFlow startMessagingGateway。inboundGatewaySpec - 使用する MessagingGatewaySpec。IntegrationFlowBuilder。public static IntegrationFlowBuilder from(MessagingGatewaySupport inboundGateway)
MessagingGatewaySupport オブジェクトを IntegrationFlowBuilder チェーンに移入します。IntegrationFlow startMessageProducer。inboundGateway - 投入する MessagingGatewaySupportIntegrationFlowBuilder。public static IntegrationFlowBuilder from(ClassSE<?> serviceInterface)
MessageChannel を新しい IntegrationFlowBuilder チェーンに入力します。これは、提供されたサービスインターフェース上に構築されたメッセージングゲートウェイの requestChannel になります。 提供されたサービスインターフェースのゲートウェイプロキシ Bean は、存在する場合は MessagingGateway.name() から、または IntegrationFlow からの名前で登録されます。Bean 名と .gateway サフィックス。
serviceInterface - オプションの MessagingGateway アノテーション付きのサービスインターフェースクラス。IntegrationFlowBuilder。public static IntegrationFlowBuilder from(ClassSE<?> serviceInterface, @Nullable java.util.function.ConsumerSE<GatewayProxySpec> endpointConfigurer)
MessageChannel を新しい IntegrationFlowBuilder チェーンに入力します。これは、提供されたサービスインターフェース上に構築されたメッセージングゲートウェイの requestChannel になります。 提供されたサービスインターフェースのゲートウェイプロキシ Bean は、提供された ConsumerSE を介して構成されたオプションに基づいています。
serviceInterface - オプションの MessagingGateway アノテーション付きのサービスインターフェースクラス。endpointConfigurer - ゲートウェイのプロキシ Bean を構成するための ConsumerSE。IntegrationFlowBuilder。public static IntegrationFlowBuilder from(org.reactivestreams.Publisher<? extends Message<?>> publisher)
publisher - サブスクライブする Publisher。IntegrationFlowBuilder。