クラス Delivery

java.lang.ObjectSE
org.springframework.amqp.rabbit.support.Delivery

public class Delivery extends ObjectSE
任意のメッセージをカプセル化します - シンプルな "Bean" ホルダー構造。
導入:
2.0
作成者:
Gary Russell
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
    Delivery(StringSE consumerTag, com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body, StringSE queue)
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    byte[]
    メッセージ本文を取得します。
    コンシューマータグを取得します。
    com.rabbitmq.client.Envelope
    メッセージエンベロープを取得します。
    com.rabbitmq.client.AMQP.BasicProperties
    メッセージのプロパティを取得します。
    キューを取得します。

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
  • コンストラクターの詳細

    • Delivery

      public Delivery(StringSE consumerTag, com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body, StringSE queue)
  • メソッドの詳細

    • getConsumerTag

      public StringSE getConsumerTag()
      コンシューマータグを取得します。
      戻り値:
      コンシューマータグ。
    • getEnvelope

      public com.rabbitmq.client.Envelope getEnvelope()
      メッセージエンベロープを取得します。
      戻り値:
      メッセージ封筒。
    • getProperties

      public com.rabbitmq.client.AMQP.BasicProperties getProperties()
      メッセージのプロパティを取得します。
      戻り値:
      メッセージのプロパティ。
    • getBody

      public byte[] getBody()
      メッセージ本文を取得します。
      戻り値:
      メッセージ本文。
    • getQueue

      public StringSE getQueue()
      キューを取得します。
      戻り値:
      待ち行列。