アノテーションインターフェース 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- デフォルト:
- 「本当」
phase
StringSE phaseSmartLifecycle
phase
オプションを指定します。デフォルトは、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
Reactive reactive- デフォルト:
- @org.springframework.integration.annotation.Reactive("\n \ t \ t \n \ t \ t \n \ ue000 \ ue001 \ ue002 \n \ t \ t \ t \ t \n")