アノテーションインターフェース BridgeFrom
@TargetSE({METHODSE,ANNOTATION_TYPESE})
@RetentionSE(RUNTIMESE)
@DocumentedSE
@RepeatableSE(BridgeFromRepeatable.class)
public @interface BridgeFrom
MessageChannel の Bean メソッドをマークして BridgeHandler とコンシューマーエンドポイントを生成するためのメッセージングアノテーション。AbstractEndpoint の inputChannel は、このアノテーションの value() であり、エンドポイントの型(EventDrivenConsumer または PollingConsumer)を決定します。
MessageChannel Bean は、BridgeHandler の outputChannel として使用されます。
- 導入:
- 4.0
- 作成者:
- Artem Bilan, Chris Bono
必須定数のサマリー
必須要素オプション要素の概要
オプション要素
要素の詳細
value
StringSE value- 戻り値:
BridgeHandlerのメッセージを受信するための受信チャネル名
autoStartup
StringSE autoStartup- デフォルト:
"true"
phase
StringSE phaseSmartLifecyclephaseオプションを指定します。デフォルトは、PollingConsumerの場合はInteger.MAX_VALUE / 2、EventDrivenConsumerの場合はInteger.MIN_VALUEです。「プロパティプレースホルダー」として指定できます。例:${foo.phase}。- 戻り値:
SmartLifecycleフェーズ。
- デフォルト:
""
poller
Poller poller- 戻り値:
- ポーリングされたエンドポイント (
PollerMetadata) のPollerオプション。reactive()とは相互に排他的です。
- デフォルト:
@org.springframework.integration.annotation.Poller("\n\t\t\n\t\t\n\ue000\ue001\ue002\n\t\t\t\t\n")
reactive