protected static class RabbitRpcClient.RabbitRpcClientConsumer
extends com.rabbitmq.client.DefaultConsumer
RabbitRpcClient.processResponseForRequest(String, byte[]) of its
client.| Modifier and Type | Field and Description |
|---|---|
private RabbitRpcClient |
client
The client for which this instance is acting as consumer.
|
| Constructor and Description |
|---|
RabbitRpcClientConsumer(com.rabbitmq.client.Channel channel,
RabbitRpcClient client)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleDelivery(String consumerTag,
com.rabbitmq.client.Envelope envelope,
com.rabbitmq.client.AMQP.BasicProperties properties,
byte[] body) |
private RabbitRpcClient client
public RabbitRpcClientConsumer(com.rabbitmq.client.Channel channel,
RabbitRpcClient client)
channel - channel from which the messages are receivedclient - the client for which this instance is acting as consumerpublic void handleDelivery(String consumerTag, com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body) throws IOException
handleDelivery in interface com.rabbitmq.client.ConsumerhandleDelivery in class com.rabbitmq.client.DefaultConsumerIOExceptionCopyright © 2017–2018. All rights reserved.