[rabbitmq-discuss] How to stop consuming message from selective queue

Alvaro Videla videlalvaro at gmail.com
Mon Apr 28 09:05:36 BST 2014


Hi,

Yes, you can use basicCancel for a specific consumer. See here:
https://www.rabbitmq.com/amqp-0-9-1-quickref.html

Regards,

Alvaro

On Mon, Apr 28, 2014 at 9:30 AM, Subshiri S <subshiri at gmail.com> wrote:
>
>>
>> QueueingConsumer consumer = new QueueingConsumer(channel);
>> channel.basicConsume("queue1", consumer);
>> channel.basicConsume("queue3", consumer);
>
>
> Is it possible to stop consuming the messages from the queue "queue3" alone
> dynamically?
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


More information about the rabbitmq-discuss mailing list