Class Delivery

java.lang.Object
com.rabbitmq.client.Delivery

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

  • Method Details

    • getEnvelope

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

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

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