クラス JmsInboundGatewaySpec<S extends JmsInboundGatewaySpec<S>>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S,JmsInboundGateway>
org.springframework.integration.dsl.MessagingGatewaySpec<S,JmsInboundGateway>
org.springframework.integration.jms.dsl.JmsInboundGatewaySpec<S>
- 型パラメーター:
S
- ターゲットJmsInboundGatewaySpec
実装型。
- 実装されたすべてのインターフェース:
DisposableBean
、FactoryBean<JmsInboundGateway>
、InitializingBean
、Lifecycle
、Phased
、SmartLifecycle
public class JmsInboundGatewaySpec<S extends JmsInboundGatewaySpec<S>>
extends MessagingGatewaySpec<S,JmsInboundGateway>
- 導入:
- 5.0
- 作成者:
- Artem Bilan, Gary Russell
ネストされたクラスのサマリー
ネストされたクラス修飾子と型クラス説明static class
フィールドのサマリー
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, target
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明correlationKey
(StringSE correlationKey) defaultReplyDestination
(DestinationEE defaultReplyDestination) defaultReplyQueueName
(StringSE destinationName) defaultReplyTopicName
(StringSE destinationName) destinationResolver
(DestinationResolver destinationResolver) explicitQosEnabledForReplies
(boolean explicitQosEnabledForReplies) extractReplyPayload
(boolean extractReplyPayload) extractRequestPayload
(boolean extractRequestPayload) jmsMessageConverter
(MessageConverter messageConverter) recoveryCallback
(org.springframework.retry.RecoveryCallback<Message<?>> recoveryCallback) アダプター内で再試行を使用する場合は、RecoveryCallback
を設定します。replyDeliveryPersistent
(boolean replyDeliveryPersistent) replyPriority
(int replyPriority) replyTimeToLive
(long replyTimeToLive) replyToExpression
(StringSE replyToExpression) Message.getJMSReplyTo()
が null の場合、ルート評価オブジェクトとしてリクエストMessage
EE から 'replyTo' 宛先を解決するための SpEL 式を設定します。replyToExpression
(Expression replyToExpression) Message.getJMSReplyTo()
が null の場合、ルート評価オブジェクトとしてリクエストMessage
EE から 'replyTo' 宛先を解決するための SpEL 式を設定します。replyToFunction
(CheckedFunction<MessageEE, ?, JMSExceptionEE> replyToFunction) Message.getJMSReplyTo()
が null の場合、ルート評価オブジェクトとしてリクエストMessage
EE から 'replyTo' 宛先を解決する関数を設定します。retryTemplate
(org.springframework.retry.support.RetryTemplate retryTemplate) アダプター内でメッセージ配信を再試行するために使用するRetryTemplate
を設定します。setHeaderMapper
(JmsHeaderMapper headerMapper) shutdownContainerOnStop
(boolean shutdown) エンドポイントが停止しているときにリスナーコンテナーがシャットダウンしないようにするには、false
に設定します。クラス org.springframework.integration.dsl.MessagingGatewaySpec から継承されたメソッド
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, observationConvention, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, 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
コンストラクターの詳細
JmsInboundGatewaySpec
メソッドの詳細
defaultReplyDestination
- パラメーター:
defaultReplyDestination
- defaultReplyDestination- 戻り値:
- スペック。
- 関連事項:
defaultReplyQueueName
defaultReplyTopicName
replyTimeToLive
- パラメーター:
replyTimeToLive
- replyTimeToLive- 戻り値:
- スペック。
- 関連事項:
replyPriority
- パラメーター:
replyPriority
- replyPriority- 戻り値:
- スペック。
- 関連事項:
replyDeliveryPersistent
- パラメーター:
replyDeliveryPersistent
- replyDeliveryPersistent- 戻り値:
- スペック。
- 関連事項:
correlationKey
explicitQosEnabledForReplies
- パラメーター:
explicitQosEnabledForReplies
- explicitQosEnabledForReplies。- 戻り値:
- スペック。
- 関連事項:
destinationResolver
- パラメーター:
destinationResolver
- destinationResolver。- 戻り値:
- スペック。
- 関連事項:
replyToExpression
Message.getJMSReplyTo()
が null の場合、ルート評価オブジェクトとしてリクエストMessage
EE から 'replyTo' 宛先を解決するための SpEL 式を設定します。- パラメーター:
replyToExpression
- 'replyTo' 宛先の SpEL 式。- 戻り値:
- スペック。
- 導入:
- 6.1
- 関連事項:
replyToFunction
Message.getJMSReplyTo()
が null の場合、ルート評価オブジェクトとしてリクエストMessage
EE から 'replyTo' 宛先を解決する関数を設定します。- パラメーター:
replyToFunction
- 'replyTo' 宛先の機能。- 戻り値:
- スペック。
- 導入:
- 6.1
- 関連事項:
replyToExpression
Message.getJMSReplyTo()
が null の場合、ルート評価オブジェクトとしてリクエストMessage
EE から 'replyTo' 宛先を解決するための SpEL 式を設定します。- パラメーター:
replyToExpression
- 'replyTo' 宛先の SpEL 式。- 戻り値:
- スペック。
- 導入:
- 6.1
- 関連事項:
jmsMessageConverter
- パラメーター:
messageConverter
- messageConverter。- 戻り値:
- スペック。
- 関連事項:
setHeaderMapper
- パラメーター:
headerMapper
- headerMapper。- 戻り値:
- スペック。
- 関連事項:
extractRequestPayload
- パラメーター:
extractRequestPayload
- extractRequestPayload。- 戻り値:
- スペック。
- 関連事項:
extractReplyPayload
- パラメーター:
extractReplyPayload
- extractReplyPayload。- 戻り値:
- スペック。
- 関連事項:
retryTemplate
アダプター内でメッセージ配信を再試行するために使用するRetryTemplate
を設定します。コンテナーレベルでの再試行の追加とは異なり、これをErrorMessageSendingRecoverer
RecoveryCallback
とともに使用して、再試行が終了した後にエラーチャネルに公開できます。通常、ここで再試行を使用する場合はエラーチャネルを設定しないでください。代わりに、RecoveryCallback
を使用してください。- パラメーター:
retryTemplate
- テンプレート。- 導入:
- 6.3
- 関連事項:
recoveryCallback
shutdownContainerOnStop
エンドポイントが停止しているときにリスナーコンテナーがシャットダウンしないようにするには、false
に設定します。そのように構成されている場合、コンテナー内のキャッシュされたコンシューマーはそのまま残ります。それ以外の場合、共有接続は閉じられ、リスナーの呼び出し元がシャットダウンされます。この動作は、バージョン 5.1 以降の新しい動作です。デフォルト: true。- パラメーター:
shutdown
- シャットダウンしない場合は false。- 戻り値:
- スペック。
- 導入:
- 5.1