public class RabbitConsumerState
extends java.lang.Object
| Constructor and Description | 
|---|
| RabbitConsumerState(com.rabbitmq.client.Envelope envelope,
                   com.rabbitmq.client.AMQP.BasicProperties properties,
                   byte[] body,
                   com.rabbitmq.client.Channel channel)Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | getBody() | 
| com.rabbitmq.client.Channel | getChannel()This channel is being used exclusively by the consumer that
 consumed this message. | 
| com.rabbitmq.client.Envelope | getEnvelope() | 
| com.rabbitmq.client.AMQP.BasicProperties | getProperties() | 
public RabbitConsumerState(com.rabbitmq.client.Envelope envelope,
                           com.rabbitmq.client.AMQP.BasicProperties properties,
                           byte[] body,
                           com.rabbitmq.client.Channel channel)
envelope - The envelopeproperties - The propertiesbody - The bodychannel - The channel that consumed the messagepublic byte[] getBody()
@NonNull public com.rabbitmq.client.AMQP.BasicProperties getProperties()
@NonNull public com.rabbitmq.client.Envelope getEnvelope()
public com.rabbitmq.client.Channel getChannel()