クラス MessageProducerSpec<S extends MessageProducerSpec<S,P>,P extends MessageProducerSupport>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S,P>
org.springframework.integration.dsl.MessageProducerSpec<S,P>
- 型パラメーター:
S
- ターゲットMessageProducerSpec
実装型。P
- ターゲットMessageProducerSupport
実装型。
- 実装されたすべてのインターフェース:
DisposableBean
、FactoryBean<P>
、InitializingBean
、Lifecycle
、Phased
、SmartLifecycle
- 既知の直属サブクラス
AmqpBaseInboundChannelAdapterSpec
、DebeziumMessageProducerSpec
、ImapIdleChannelAdapterSpec
、JmsMessageDrivenChannelAdapterSpec
、KafkaMessageDrivenChannelAdapterSpec
、MongoDbChangeStreamMessageProducerSpec
、TailAdapterSpec
、TcpInboundChannelAdapterSpec
、UdpInboundChannelAdapterSpec
、ZeroMqMessageProducerSpec
public abstract class MessageProducerSpec<S extends MessageProducerSpec<S,P>,P extends MessageProducerSupport>
extends IntegrationComponentSpec<S,P>
- 導入:
- 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 errorChannel) エラーメッセージの送信先となるMessageChannel
の Bean 名を設定します。errorChannel
(MessageChannel errorChannel) エラーメッセージの送信先となるMessageChannel
を構成します。errorMessageStrategy
(ErrorMessageStrategy errorMessageStrategy) 例外が発生したときにエラーメッセージを作成するために使用するErrorMessageStrategy
を設定します。コンポーネント識別子を構成します。observationConvention
(MessageReceiverObservationConvention observationConvention) カスタムMessageReceiverObservationConvention
を提供します。outputChannel
(StringSE outputChannel) MessageProducer
のoutputChannel
の Bean 名を指定します。outputChannel
(MessageChannel outputChannel) MessageProducer
のoutputChannel
を指定します。phase
(int phase) エンドポイントのロールを指定します。sendTimeout
(long sendTimeout) 送信操作に使用するデフォルトのタイムアウト値を構成します。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
コンストラクターの詳細
MessageProducerSpec
メソッドの詳細
id
コンポーネント識別子を構成します。このコンポーネントのアプリケーションコンテキストに Bean を登録するためのbeanName
として使用されます。メッセージプロデューサーの Bean 名を設定します。- オーバーライド:
- クラス
IntegrationComponentSpec<S extends MessageProducerSpec<S,
のP>, P extends MessageProducerSupport> id
- パラメーター:
id
- ID。- 戻り値:
- スペック。
phase
- パラメーター:
phase
- フェーズ。- 戻り値:
- スペック。
- 関連事項:
autoStartup
- パラメーター:
autoStartup
- autoStartup。- 戻り値:
- スペック。
- 関連事項:
role
outputChannel
MessageProducer
のoutputChannel
を指定します。- パラメーター:
outputChannel
- outputChannel。- 戻り値:
- スペック。
- 関連事項:
outputChannel
MessageProducer
のoutputChannel
の Bean 名を指定します。- パラメーター:
outputChannel
- outputChannel Bean の名前。- 戻り値:
- スペック。
- 関連事項:
errorChannel
エラーメッセージの送信先となるMessageChannel
を構成します。- パラメーター:
errorChannel
- errorChannel。- 戻り値:
- スペック。
- 関連事項:
errorChannel
エラーメッセージの送信先となるMessageChannel
の Bean 名を設定します。- パラメーター:
errorChannel
- errorChannel Bean の名前。- 戻り値:
- スペック。
- 関連事項:
sendTimeout
送信操作に使用するデフォルトのタイムアウト値を構成します。個々のメッセージに対してオーバーライドされる場合があります。- パラメーター:
sendTimeout
- ミリ秒単位の送信タイムアウト- 戻り値:
- スペック。
- 導入:
- 5.0.2
- 関連事項:
shouldTrack
コンポーネントをメッセージ履歴で追跡するかどうか。- パラメーター:
shouldTrack
- 追跡フラグ- 戻り値:
- スペック。
- 導入:
- 5.0.2
- 関連事項:
errorMessageStrategy
例外が発生したときにエラーメッセージを作成するために使用するErrorMessageStrategy
を設定します。- パラメーター:
errorMessageStrategy
-ErrorMessageStrategy
- 戻り値:
- スペック。
- 導入:
- 5.0.2
- 関連事項:
observationConvention
カスタムMessageReceiverObservationConvention
を提供します。- パラメーター:
observationConvention
- 使用する観測規則。- 戻り値:
- スペック。
- 導入:
- 6.0.8
- 関連事項: