Uses of Interface
com.rabbitmq.client.Consumer
Package
Description
The client API proper: classes and interfaces representing the AMQP
connections, channels, and wire-protocol framing descriptors.
Implementations of interfaces specified in the client API, and their supporting classes.
Implementation of connection and topology recovery.
-
Uses of Consumer in com.rabbitmq.client
Modifier and TypeClassDescriptionclass
Convenience class providing a default implementation ofConsumer
.Modifier and TypeMethodDescriptionRpcClient.getConsumer()
Retrieve the consumer.Channel.getDefaultConsumer()
Get the current default consumer.Modifier and TypeMethodDescriptionChannel.basicConsume
(String queue, boolean autoAck, Consumer callback) Start a non-nolocal, non-exclusive consumer, with a server-generated consumerTag.Channel.basicConsume
(String queue, boolean autoAck, String consumerTag, boolean noLocal, boolean exclusive, Map<String, Object> arguments, Consumer callback) Start a consumer.Channel.basicConsume
(String queue, boolean autoAck, String consumerTag, Consumer callback) Start a non-nolocal, non-exclusive consumer.Channel.basicConsume
(String queue, boolean autoAck, Map<String, Object> arguments, Consumer callback) Start a non-nolocal, non-exclusive consumer, with a server-generated consumerTag and specified arguments.Channel.basicConsume
(String queue, Consumer callback) Start a non-nolocal, non-exclusive consumer, with explicit acknowledgement and a server-generated consumerTag.void
ExceptionHandler.handleConsumerException
(Channel channel, Throwable exception, Consumer consumer, String consumerTag, String methodName) Perform any required exception processing for the situation when the driver thread for the connection has called a method on a Consumer, and that method has thrown an exception.void
Channel.setDefaultConsumer
(Consumer consumer) Set the current default consumer. -
Uses of Consumer in com.rabbitmq.client.impl
Modifier and TypeMethodDescriptionChannelN.getDefaultConsumer()
Returns the current default consumer.Modifier and TypeMethodDescriptionChannelN.basicConsume
(String queue, boolean autoAck, Consumer callback) Public API - Start a non-nolocal, non-exclusive consumer, with a server-generated consumerTag.ChannelN.basicConsume
(String queue, boolean autoAck, String consumerTag, boolean noLocal, boolean exclusive, Map<String, Object> arguments, Consumer callback) Public API - Start a consumer.ChannelN.basicConsume
(String queue, boolean autoAck, String consumerTag, Consumer callback) Public API - Start a non-nolocal, non-exclusive consumer.ChannelN.basicConsume
(String queue, boolean autoAck, Map<String, Object> arguments, Consumer callback) Public API - Start a non-nolocal, non-exclusive consumer, with a server-generated consumerTag and specified arguments.ChannelN.basicConsume
(String queue, Consumer callback) Public API - Start a non-nolocal, non-exclusive consumer, with explicit acknowledgement and a server-generated consumerTag.void
ForgivingExceptionHandler.handleConsumerException
(Channel channel, Throwable exception, Consumer consumer, String consumerTag, String methodName) void
StrictExceptionHandler.handleConsumerException
(Channel channel, Throwable exception, Consumer consumer, String consumerTag, String methodName) void
ChannelN.setDefaultConsumer
(Consumer consumer) Sets the current default consumer. -
Uses of Consumer in com.rabbitmq.client.impl.recovery
Modifier and TypeMethodDescriptionAutorecoveringChannel.basicConsume
(String queue, boolean autoAck, Consumer callback) AutorecoveringChannel.basicConsume
(String queue, boolean autoAck, String consumerTag, boolean noLocal, boolean exclusive, Map<String, Object> arguments, Consumer callback) AutorecoveringChannel.basicConsume
(String queue, boolean autoAck, String consumerTag, Consumer callback) AutorecoveringChannel.basicConsume
(String queue, boolean autoAck, Map<String, Object> arguments, Consumer callback) AutorecoveringChannel.basicConsume
(String queue, Consumer callback) void
AutorecoveringChannel.setDefaultConsumer
(Consumer consumer) -
Uses of Consumer in com.rabbitmq.client.observation
Modifier and TypeMethodDescriptionObservationCollector.basicConsume
(String queue, String consumerTag, Consumer consumer) Decorate consumer registration.Modifier and TypeMethodDescriptionObservationCollector.basicConsume
(String queue, String consumerTag, Consumer consumer) Decorate consumer registration.