public class DefaultReturnConsumer
extends com.rabbitmq.client.DefaultConsumer
Constructor and Description |
---|
DefaultReturnConsumer(com.rabbitmq.client.Channel channel)
Constructs a new instance and records its association to the passed-in channel.
|
Modifier and Type | Method and Description |
---|---|
java.util.Properties |
getReceivedProps() |
void |
handleDelivery(java.lang.String consumerTag,
com.rabbitmq.client.Envelope envelope,
com.rabbitmq.client.AMQP.BasicProperties properties,
byte[] body) |
void |
setReceivedProps(java.util.Properties receivedProps) |
public DefaultReturnConsumer(com.rabbitmq.client.Channel channel)
channel
- public void handleDelivery(java.lang.String consumerTag, com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body) throws java.io.IOException
handleDelivery
in interface com.rabbitmq.client.Consumer
handleDelivery
in class com.rabbitmq.client.DefaultConsumer
java.io.IOException
public java.util.Properties getReceivedProps()
public void setReceivedProps(java.util.Properties receivedProps)
receivedProps
- the receivedProps to set