Class QueueingConsumer.Delivery

java.lang.Object
com.espertech.esperio.amqp.QueueingConsumer.Delivery
Enclosing class:
QueueingConsumer

public static class QueueingConsumer.Delivery extends Object
Encapsulates an arbitrary message - simple "bean" holder structure.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Delivery(com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Retrieve the message body.
    com.rabbitmq.client.Envelope
    Retrieve the message envelope.
    com.rabbitmq.client.AMQP.BasicProperties
    Retrieve the message properties.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Delivery

      public Delivery(com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body)
  • Method Details

    • getEnvelope

      public com.rabbitmq.client.Envelope getEnvelope()
      Retrieve the message envelope.
      Returns:
      the message envelope
    • getProperties

      public com.rabbitmq.client.AMQP.BasicProperties getProperties()
      Retrieve the message properties.
      Returns:
      the message properties
    • getBody

      public byte[] getBody()
      Retrieve the message body.
      Returns:
      the message body