クラス MessagingGatewaySpec<S extends MessagingGatewaySpec<S,G>,G extends MessagingGatewaySupport>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S,G>
org.springframework.integration.dsl.MessagingGatewaySpec<S,G>
- 型パラメーター:
S
- ターゲットMessagingGatewaySpec
実装型。G
- ターゲットMessagingGatewaySupport
実装型。
- 実装されたすべてのインターフェース:
DisposableBean
、FactoryBean<G>
、InitializingBean
、Lifecycle
、Phased
、SmartLifecycle
- 既知の直属サブクラス
AmqpBaseInboundGatewaySpec
、BaseWsInboundGatewaySpec
、HttpInboundEndpointSupportSpec
、JmsInboundGatewaySpec
、KafkaInboundGatewaySpec
、RSocketInboundGatewaySpec
、TcpInboundGatewaySpec
public abstract class MessagingGatewaySpec<S extends MessagingGatewaySpec<S,G>,G extends MessagingGatewaySupport>
extends IntegrationComponentSpec<S,G>
- 導入:
- 5.0
- 作成者:
- Artem Bilan
フィールドサマリー
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, target
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明autoStartup
(boolean autoStartup) 自動起動フラグ。errorChannel
(StringSE errorChannelName) 使用するエラーチャネル名。errorChannel
(MessageChannel errorChannel) 使用するエラーチャネル。errorOnTimeout
(boolean errorOnTimeout) errorOnTimeout が true の場合、応答が期待されても何も受信されない場合に、MessageTimeoutException
ペイロードを含むErrorMessage
をエラーチャネルに送信するインスタンスを作成します。コンポーネント識別子を構成します。observationConvention
(MessageRequestReplyReceiverObservationConvention observationConvention) カスタムMessageRequestReplyReceiverObservationConvention
を提供します。phase
(int phase) 使用するライフサイクルフェーズ。replyChannel
(StringSE replyChannelName) 使用する返信チャネル名。replyChannel
(MessageChannel replyChannel) 使用する返信チャネル。replyMapper
(OutboundMessageMapper<?> replyMapper) 使用するOutboundMessageMapper
。replyTimeout
(long replyTimeout) 使用する応答タイムアウト。requestChannel
(StringSE requestChannelName) 使用するリクエストチャネル名。requestChannel
(MessageChannel requestChannel) 使用するリクエストチャネル。requestMapper
(InboundMessageMapper<?> requestMapper) 使用するInboundMessageMapper
。requestTimeout
(long requestTimeout) 使用するリクエストタイムアウト。shouldTrack
(boolean shouldTrack) コンポーネントをメッセージ履歴で追跡するかどうか。クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.beans.factory.FactoryBean から継承されたメソッド
isSingleton
コンストラクターの詳細
MessagingGatewaySpec
メソッドの詳細
id
クラスからコピーされた説明:IntegrationComponentSpec
コンポーネント識別子を構成します。このコンポーネントのアプリケーションコンテキストに Bean を登録するためのbeanName
として使用されます。- オーバーライド:
- クラス
IntegrationComponentSpec<S extends MessagingGatewaySpec<S,
のG>, G extends MessagingGatewaySupport> id
- パラメーター:
id
- ID。- 戻り値:
- スペック。
phase
使用するライフサイクルフェーズ。- パラメーター:
phase
- フェーズ。- 戻り値:
- スペック。
- 関連事項:
autoStartup
自動起動フラグ。- パラメーター:
autoStartup
- autoStartup。- 戻り値:
- スペック。
- 関連事項:
replyChannel
使用する返信チャネル。- パラメーター:
replyChannel
- replyChannel。- 戻り値:
- スペック。
- 関連事項:
replyChannel
使用する返信チャネル名。- パラメーター:
replyChannelName
- replyChannel の名前。- 戻り値:
- スペック。
- 関連事項:
requestChannel
使用するリクエストチャネル。- パラメーター:
requestChannel
- requestChannel。- 戻り値:
- スペック。
- 関連事項:
requestChannel
使用するリクエストチャネル名。- パラメーター:
requestChannelName
- requestChannel の名前。- 戻り値:
- スペック。
- 関連事項:
errorChannel
使用するエラーチャネル。- パラメーター:
errorChannel
- errorChannel。- 戻り値:
- スペック。
- 関連事項:
errorChannel
使用するエラーチャネル名。- パラメーター:
errorChannelName
- errorChannel の名前。- 戻り値:
- スペック。
- 関連事項:
requestTimeout
使用するリクエストタイムアウト。- パラメーター:
requestTimeout
- requestTimeout。- 戻り値:
- スペック。
- 関連事項:
replyTimeout
使用する応答タイムアウト。- パラメーター:
replyTimeout
- replyTimeout。- 戻り値:
- スペック。
- 関連事項:
errorOnTimeout
errorOnTimeout が true の場合、応答が期待されても何も受信されない場合に、MessageTimeoutException
ペイロードを含むErrorMessage
をエラーチャネルに送信するインスタンスを作成します。エラーチャネルが設定されていない場合、MessageTimeoutException
がスローされます。- パラメーター:
errorOnTimeout
- true の場合、応答タイムアウト時にエラーメッセージを作成します。- 戻り値:
- スペック
- 導入:
- 5.2.2
- 関連事項:
requestMapper
使用するInboundMessageMapper
。- パラメーター:
requestMapper
- requestMapper。- 戻り値:
- スペック。
- 関連事項:
replyMapper
使用するOutboundMessageMapper
。- パラメーター:
replyMapper
- replyMapper。- 戻り値:
- スペック。
- 関連事項:
shouldTrack
コンポーネントをメッセージ履歴で追跡するかどうか。- パラメーター:
shouldTrack
- 追跡フラグ- 戻り値:
- スペック。
- 導入:
- 5.0.2
- 関連事項:
observationConvention
public S observationConvention(MessageRequestReplyReceiverObservationConvention observationConvention) カスタムMessageRequestReplyReceiverObservationConvention
を提供します。- パラメーター:
observationConvention
- 使用する観察規則。- 戻り値:
- スペック。
- 導入:
- 6.0.8
- 関連事項: