Package com.rabbitmq.client
Class QueueingConsumer.Delivery
- java.lang.Object
-
- com.rabbitmq.client.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(Envelope envelope, AMQP.BasicProperties properties, byte[] body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBody()
Retrieve the message body.Envelope
getEnvelope()
Retrieve the message envelope.AMQP.BasicProperties
getProperties()
Retrieve the message properties.
-
-
-
Constructor Detail
-
Delivery
public Delivery(Envelope envelope, AMQP.BasicProperties properties, byte[] body)
-
-
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
-
-