public static class

QueueingConsumer.Delivery

extends Object
java.lang.Object
   ↳ com.rabbitmq.client.QueueingConsumer.Delivery

Class Overview

Encapsulates an arbitrary message - simple "bean" holder structure.

Summary

Public Constructors
QueueingConsumer.Delivery(Envelope envelope, AMQP.BasicProperties properties, byte[] body)
Public Methods
byte[] getBody()
Retrieve the message body.
Envelope getEnvelope()
Retrieve the message envelope.
BasicProperties getProperties()
Retrieve the message properties.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public QueueingConsumer.Delivery (Envelope envelope, AMQP.BasicProperties properties, byte[] body)

Public Methods

public byte[] getBody ()

Retrieve the message body.

Returns
  • the message body

public Envelope getEnvelope ()

Retrieve the message envelope.

Returns
  • the message envelope

public BasicProperties getProperties ()

Retrieve the message properties.

Returns
  • the message properties