protected static class RabbitRpcClient.RabbitRpcClientConsumer
extends com.rabbitmq.client.DefaultConsumer
RabbitRpcClient.processResponseForRequest(String, byte[]) of its
client.| Modifier and Type | Field | Description |
|---|---|---|
private RabbitRpcClient |
client |
The client for which this instance is acting as consumer.
|
| Constructor | Description |
|---|---|
RabbitRpcClientConsumer(com.rabbitmq.client.Channel channel,
RabbitRpcClient client) |
Constructor.
|
| Modifier and Type | Method | 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 class com.rabbitmq.client.DefaultConsumerIOExceptionCopyright © 2017. All rights reserved.