[rabbitmq-discuss] Alternative Python AMQP client library

Barry Pederson bp at barryp.org
Tue Dec 4 20:48:48 GMT 2007


Dmitriy Samovskiy wrote:

> Is there a way to get a non-blocking consumer event loop using your 
> library?

Channel.basic_get() doesn't block, it just returns None if the queue is 
empty.  So you could poll that occasionally in your own loop - but the 
downside would be more network traffic back and forth.

	Barry




More information about the rabbitmq-discuss mailing list