Class AmqpAcquisition.AmqpConsumer
- java.lang.Object
-
- com.rabbitmq.client.DefaultConsumer
-
- org.objectweb.joram.mom.dest.amqp.AmqpAcquisition.AmqpConsumer
-
- All Implemented Interfaces:
com.rabbitmq.client.Consumer
- Enclosing class:
- AmqpAcquisition
private class AmqpAcquisition.AmqpConsumer extends com.rabbitmq.client.DefaultConsumer
-
-
Constructor Summary
Constructors Constructor Description AmqpConsumer(com.rabbitmq.client.Channel channel, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleDelivery(String consumerTag, com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body)voidhandleShutdownSignal(String consumerTag, com.rabbitmq.client.ShutdownSignalException sig)
-
-
-
Field Detail
-
name
private String name
-
-
Constructor Detail
-
AmqpConsumer
public AmqpConsumer(com.rabbitmq.client.Channel channel, String name)
-
-
Method Detail
-
handleDelivery
public void handleDelivery(String consumerTag, com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body) throws IOException
- Specified by:
handleDeliveryin interfacecom.rabbitmq.client.Consumer- Overrides:
handleDeliveryin classcom.rabbitmq.client.DefaultConsumer- Throws:
IOException
-
handleShutdownSignal
public void handleShutdownSignal(String consumerTag, com.rabbitmq.client.ShutdownSignalException sig)
- Specified by:
handleShutdownSignalin interfacecom.rabbitmq.client.Consumer- Overrides:
handleShutdownSignalin classcom.rabbitmq.client.DefaultConsumer
-
-