Class Delivery
java.lang.Object
com.rabbitmq.client.Delivery
Encapsulates an arbitrary message - simple "bean" holder structure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private final Envelopeprivate final AMQP.BasicProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBody()Retrieve the message body.Retrieve the message envelope.Retrieve the message properties.
-
Field Details
-
_envelope
-
_properties
-
_body
private final byte[] _body
-
-
Constructor Details
-
Delivery
-
-
Method Details
-
getEnvelope
-
getProperties
Retrieve the message properties.- Returns:
- the message properties
-
getBody
public byte[] getBody()Retrieve the message body.- Returns:
- the message body
-