Class QueueingConsumer.Delivery

  • Enclosing class:
    QueueingConsumer

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

      • 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