Uses of Interface
com.rabbitmq.client.Consumer
Packages that use 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
Subinterfaces of Consumer in com.rabbitmq.clientClasses in com.rabbitmq.client that implement ConsumerModifier and TypeClassDescriptionclass
Convenience class providing a default implementation ofConsumer
.Methods in com.rabbitmq.client that return ConsumerModifier and TypeMethodDescriptionRpcClient.getConsumer()
Retrieve the consumer.Channel.getDefaultConsumer()
Get the current default consumer.Methods in com.rabbitmq.client with parameters of type ConsumerModifier 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
Methods in com.rabbitmq.client.impl that return ConsumerModifier and TypeMethodDescriptionChannelN.getDefaultConsumer()
Returns the current default consumer.Methods in com.rabbitmq.client.impl with parameters of type ConsumerModifier 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
Methods in com.rabbitmq.client.impl.recovery that return ConsumerMethods in com.rabbitmq.client.impl.recovery with parameters of type ConsumerModifier 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
Methods in com.rabbitmq.client.observation that return ConsumerModifier and TypeMethodDescriptionObservationCollector.basicConsume
(String queue, String consumerTag, Consumer consumer) Decorate consumer registration.Methods in com.rabbitmq.client.observation with parameters of type ConsumerModifier and TypeMethodDescriptionObservationCollector.basicConsume
(String queue, String consumerTag, Consumer consumer) Decorate consumer registration.