クラス PollableAmqpChannel

実装されたすべてのインターフェース:
ConnectionListenerAwareBeanFactoryAwareBeanNameAwareDisposableBeanInitializingBeanApplicationContextAwareExecutorChannelInterceptorAwareComponentSourceAwareExpressionCapableIntegrationPatternNamedComponentIntegrationManagementTrackableComponentMessageChannelPollableChannelInterceptableChannel

public class PollableAmqpChannel extends AbstractAmqpChannel implements PollableChannel, ExecutorChannelInterceptorAware
AMQP キューに支えられた PollableChannel 実装。メッセージは、ルーティングキーとしてそのキューの名前を使用して、デフォルト(名前なし)の交換に送信されます。
導入:
2.1
作成者:
Mark Fisher, Artem Bilan, Gary Russell, Ngoc Nhan
  • コンストラクターの詳細

    • PollableAmqpChannel

      public PollableAmqpChannel(StringSE channelName, AmqpTemplate amqpTemplate)
      テンプレートが RabbitTemplate であり、メッセージがマップされている場合に使用される、指定された名前、テンプレート、デフォルトのヘッダーマッパーを使用してインスタンスを構築します。
      パラメーター:
      channelName - チャンネル名。
      amqpTemplate - テンプレート。
      関連事項:
    • PollableAmqpChannel

      public PollableAmqpChannel(StringSE channelName, AmqpTemplate amqpTemplate, AmqpHeaderMapper outboundMapper, AmqpHeaderMapper inboundMapper)
      指定された名前、テンプレート、ヘッダーマッパーを使用してインスタンスを構築します。
      パラメーター:
      channelName - チャンネル名。
      amqpTemplate - テンプレート。
      outboundMapper - 発信マッパー。
      inboundMapper - 受信マッパー。
      導入:
      4.3
      関連事項:
  • メソッドの詳細