Package com.rabbitmq.client
Class Delivery
java.lang.Object
com.rabbitmq.client.Delivery
Encapsulates an arbitrary message - simple "bean" holder structure.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBody()
Retrieve the message body.Retrieve the message envelope.Retrieve the message properties.
-
Constructor Details
-
Delivery
-
-
Method Details
-
getEnvelope
Retrieve the message envelope.- Returns:
- the message envelope
-
getProperties
Retrieve the message properties.- Returns:
- the message properties
-
getBody
public byte[] getBody()Retrieve the message body.- Returns:
- the message body
-