[rabbitmq-discuss] How to pause and resume consumption gracefully in rabbitmq?
Михаил Доронин
warrior2031 at gmail.com
Thu Dec 19 12:03:15 GMT 2013
I'm using python library called pika, and I have a problem which I
described in this question on stackoverlow.
http://stackoverflow.com/questions/20651111/how-to-pause-and-resume-consumption-gracefully-in-rabbitmq-pika-python
Basically, should I use the same consumer-tag or generate a new one if I'm
resuming consumption?
If I would generate a new one every time I'm resuming consumption then
sooner or later it would match some of the previous ones and I would get an
exception.
четверг, 19 декабря 2013 г., 15:57:09 UTC+4 пользователь Alvaro Videla
написал:
>
> Hi,
>
> basic.cancel will stop consuming from a queue. When you want to resume
> consuming, you can just issue the same basic.consume you did before
>
> Regards,
>
> Alvaro
>
> On Thu, Dec 19, 2013 at 12:49 PM, Михаил Доронин <warri... at gmail.com<javascript:>>
> wrote:
> > So...
> >
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq... at lists.rabbitmq.com <javascript:>
> > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131219/2d003561/attachment.html>
More information about the rabbitmq-discuss
mailing list