Class Delivery
java.lang.Object
org.springframework.amqp.rabbit.support.Delivery
Encapsulates an arbitrary message - simple "bean" holder structure.
- Since:
- 2.0
- Author:
- Gary Russell
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Delivery
-
-
Method Details
-
getConsumerTag
Retrieve the consumer tag.- Returns:
- the consumer tag.
-
getEnvelope
public com.rabbitmq.client.Envelope getEnvelope()Retrieve the message envelope.- Returns:
- the message envelope.
-
getProperties
public com.rabbitmq.client.AMQP.BasicProperties getProperties()Retrieve the message properties.- Returns:
- the message properties.
-
getBody
public byte[] getBody()Retrieve the message body.- Returns:
- the message body.
-
getQueue
Retrieve the queue.- Returns:
- the queue.
-