public static interface IntegrationFlowContext.IntegrationFlowRegistrationBuilderIntegrationFlow を登録するオプションの Builder パターン実装。IntegrationFlowContext.IntegrationFlowRegistrationBuilder id(StringSE id)
IntegrationFlow の id を指定します。コンテキストごとに一意である必要があります。この id への登録は、新しい IntegrationFlow インスタンスで再利用する前に破棄する必要があります。id - 登録する IntegrationFlow の IDIntegrationFlowContext.IntegrationFlowRegistrationBuilder autoStartup(boolean autoStartup)
autoStartup - 登録後に自動的に IntegrationFlow を開始するかどうか。IntegrationFlowContext.IntegrationFlowRegistrationBuilder addBean(ObjectSE bean)
IntegrationFlow 依存 Bean として登録されるオブジェクトを追加します。通常、アプリケーションコンテキストを必要とするサポートコンポーネントです。たとえば、AMQP、JMS、TCP などの動的に作成された接続ファクトリまたはヘッダーマッパー。bean - アプリケーションコンテキストに登録するための追加の任意の BeanIntegrationFlowContext.IntegrationFlowRegistrationBuilder addBean(StringSE name, ObjectSE bean)
IntegrationFlow 依存 Bean として登録されるオブジェクトを追加します。通常、アプリケーションコンテキストを必要とするサポートコンポーネントです。たとえば、AMQP、JMS、TCP などの動的に作成された接続ファクトリまたはヘッダーマッパー。name - 登録する Bean の名前。bean - アプリケーションコンテキストに登録するための追加の任意の BeanIntegrationFlowContext.IntegrationFlowRegistrationBuilder setSource(ObjectSE source)
Object を設定します。実行時にメッセージング例外が発生したときにフローのソースコードに簡単につながる可能性のある任意のオブジェクトにすることができます。source - 構成ソース表現。default IntegrationFlowContext.IntegrationFlowRegistrationBuilder useFlowIdAsPrefix()
id(String)IntegrationFlowContext.IntegrationFlowRegistration register()
IntegrationFlow およびすべての依存コンポーネントとサポートコンポーネントをアプリケーションコンテキストに登録し、関連する IntegrationFlowContext.IntegrationFlowRegistration コントロールオブジェクトを返します。