クラス AmqpPollableMessageChannelSpec<S extends AmqpPollableMessageChannelSpec<S,T>, T extends AbstractAmqpChannel>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S,T>
org.springframework.integration.dsl.MessageChannelSpec<S,T>
org.springframework.integration.amqp.dsl.AmqpPollableMessageChannelSpec<S,T>
- 型パラメーター:
S- ターゲットAmqpPollableMessageChannelSpec実装型。T- ターゲットチャネル型。
- 実装されているすべてのインターフェース:
DisposableBean、FactoryBean<T>、InitializingBean、Lifecycle、Phased、SmartLifecycle、ComponentsRegistration
- 既知の直属サブクラス
AmqpMessageChannelSpec
public class AmqpPollableMessageChannelSpec<S extends AmqpPollableMessageChannelSpec<S,T>, T extends AbstractAmqpChannel>
extends MessageChannelSpec<S,T>
- 導入:
- 5.0
- 作成者:
- Artem Bilan, Gary Russell, Artem Vozhdayenko
フィールドのサマリー
フィールドクラス org.springframework.integration.dsl.MessageChannelSpec から継承されたフィールド
channelクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, targetインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEインターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明amqpMessageConverter(MessageConverter messageConverter) channelTransacted(boolean channelTransacted) Spring Integration 4.0 を使用する場合は、RabbitTemplate(送信用)とSimpleMessageListenerContainer(受信用)の両方でchannelTransactedを構成します。AmqpHeaders.DELIVERY_MODEヘッダーを持たないメッセージの配信モードを構成します。protected TdoGet()extractPayload(boolean extract) 通常の spring-messaging から AMQP へのメッセージマッピングを有効にするかどうかを設定します。headersMappedLast(boolean headersLast) protected Sコンポーネント識別子を構成します。inboundHeaderMapper(AmqpHeaderMapper mapper) extractPayload(boolean)が true の場合に使用する受信ヘッダーマッパーを構成します。messagePropertiesConverter(MessagePropertiesConverter messagePropertiesConverter) outboundHeaderMapper(AmqpHeaderMapper mapper) extractPayload(boolean)が true の場合に使用する送信ヘッダーマッパーを構成します。また、id(String)を暗黙的に設定します(明示的に設定されていない場合)。templateChannelTransacted(boolean channelTransacted) チャネルにメッセージを送信するときに使用されるRabbitTemplateでchannelTransactedを構成します。クラス org.springframework.integration.dsl.MessageChannelSpec から継承されたメソッド
datatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTapクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, 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
フィールドの詳細
amqpChannelFactoryBean
コンストラクターの詳細
AmqpPollableMessageChannelSpec
メソッドの詳細
id
クラスからコピーされた説明:IntegrationComponentSpecコンポーネント識別子を構成します。このコンポーネントのアプリケーションコンテキストに Bean を登録するためのbeanNameとして使用されます。- オーバーライド:
- クラス
IntegrationComponentSpec<S extends AmqpPollableMessageChannelSpec<S,のT>, T extends AbstractAmqpChannel> id - パラメーター:
id- ID。- 戻り値:
- スペック。
queueName
また、id(String)を暗黙的に設定します(明示的に設定されていない場合)。- パラメーター:
queueName- queueName。- 戻り値:
- スペック。
- 関連事項:
encoding
amqpMessageConverter
- パラメーター:
messageConverter- messageConverter。- 戻り値:
- スペック。
- 関連事項:
channelTransacted
Spring Integration 4.0 を使用する場合は、RabbitTemplate(送信用)とSimpleMessageListenerContainer(受信用)の両方でchannelTransactedを構成します。Spring Integration 4.1 を使用する場合、コンテナーのみが構成されます。templateChannelTransacted(boolean)を参照してください。- パラメーター:
channelTransacted- channelTransacted。- 戻り値:
- スペック。
- 関連事項:
templateChannelTransacted
チャネルにメッセージを送信するときに使用されるRabbitTemplateでchannelTransactedを構成します。Spring Integration 4.1 以上が使用されている場合にのみ適用されます。それ以外の場合は、channelTransacted(boolean)を参照してください。- パラメーター:
channelTransacted- channelTransacted。- 戻り値:
- スペック。
- 関連事項:
messagePropertiesConverter
- パラメーター:
messagePropertiesConverter- messagePropertiesConverter。- 戻り値:
- スペック。
- 関連事項:
defaultDeliveryMode
AmqpHeaders.DELIVERY_MODEヘッダーを持たないメッセージの配信モードを構成します。デフォルトはMessageDeliveryMode.PERSISTENTです。- パラメーター:
mode- モード。- 戻り値:
- スペック。
extractPayload
通常の spring-messaging から AMQP へのメッセージマッピングを有効にするかどうかを設定します。デフォルトは false です。- パラメーター:
extract- マッピングを有効にするには true。- 戻り値:
- スペック。
- 関連事項:
outboundHeaderMapper
extractPayload(boolean)が true の場合に使用する送信ヘッダーマッパーを構成します。デフォルトはDefaultAmqpHeaderMapperです。- パラメーター:
mapper- マッパー。- 戻り値:
- スペック。
- 関連事項:
inboundHeaderMapper
extractPayload(boolean)が true の場合に使用する受信ヘッダーマッパーを構成します。デフォルトはDefaultAmqpHeaderMapperです。- パラメーター:
mapper- マッパー。- 戻り値:
- スペック。
- 関連事項:
headersMappedLast
- パラメーター:
headersLast- ヘッダーを最後にマップする場合は true。- 戻り値:
- スペック。
- 関連事項:
doGet
- オーバーライド:
- クラス
MessageChannelSpec<S extends AmqpPollableMessageChannelSpec<S,のT>, T extends AbstractAmqpChannel> doGet