[rabbitmq-discuss] Async Python AMQP client lib
Barry Pederson
bp at barryp.org
Mon Oct 12 15:12:53 BST 2009
Sébastien wrote:
> Hi,
>
> I am new to using RabbitMQ and would like to know if the py-amqplib
> has a branch available with non-blocking sockets for async style amqp
> consumers & producers. I did see some code was shared about a year
> ago: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2008-March/000550.html
> , but I can't seem to see it integrated in the current source
> available in the mercurial repository.
>
> I have looked at tx-amqplib, but I don't like the heavy dependencies
> on twisted, zope, etc...
There's an experimental branch at
http://hg.barryp.org/py-amqplib-devel/
that has an optional "threaded" mode that offers a timeout on wait()
calls, and attempts to do some flow-control. I consider it experimental
mainly because it needs testing and feedback, and I haven't really
figured out how you'd write unittests for such features. It does pass
all the same existing unittests as the regular branch.
For more heavy-duty async support, txAMQP is still probably a better bet.
Barry
More information about the rabbitmq-discuss
mailing list