クラス 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、AmqpClientInboundChannelAdapterSpec、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インターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isPauseable
コンストラクターの詳細
MessageProducerSpec
public MessageProducerSpec()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
- 関連事項: