Class Delivery
- java.lang.Object
-
- org.springframework.amqp.rabbit.support.Delivery
-
public class Delivery extends Object
Encapsulates an arbitrary message - simple "bean" holder structure.- Since:
- 2.0
- Author:
- Gary Russell
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBody()
Retrieve the message body.String
getConsumerTag()
Retrieve the consumer tag.com.rabbitmq.client.Envelope
getEnvelope()
Retrieve the message envelope.com.rabbitmq.client.AMQP.BasicProperties
getProperties()
Retrieve the message properties.String
getQueue()
Retrieve the queue.
-
-
-
Method Detail
-
getConsumerTag
public String 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
public String getQueue()
Retrieve the queue.- Returns:
- the queue.
-
-