[rabbitmq-discuss] How to do blocking asynchronously with Pika? I want 1 message at a time and stop receiving until I'm ready again.

Michael Klishin michael.s.klishin at gmail.com
Wed Feb 20 20:55:56 GMT 2013


2013/2/21 Scott Chapman <Scott.Chapman at servicenow.com>

> What's the best practice to make it so I receive a message in a
> single-threaded app, process it and don't get any more messages until I'm
> ready again?


One way would be to cancel your consumer.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130221/871f5855/attachment.htm>


More information about the rabbitmq-discuss mailing list