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

Scott Chapman Scott.Chapman at servicenow.com
Wed Feb 20 20:50:16 GMT 2013


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?

Something like:

Receive Message
Turn off Channel – how best to do this?
Ack Message
Process Message
Turn on Channel
…. Back to the top.

Thanks,
Scott

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130220/d0113b37/attachment.htm>


More information about the rabbitmq-discuss mailing list