クラス 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 T
doGet()
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