[rabbitmq-discuss] why isn't my queue durable? (python client)

Brian Whitman brian at echonest.com
Thu Apr 30 15:55:19 BST 2009


I'm trying to achieve a durable queue using the python client.
My setup is stock rabbit release from debian apt-get (using the rabbit apt
repository)

I set it up using this code:

http://github.com/bwhitman/py-amqplib-wrapper/blob/556f6daf498a7b84dba27dba38c6880b4a4b239a/amqp-wrapper.py

This uses amqplib.clent_0_8

I declare the queue and exchange with durable=True. I add a bunch of
messages and issue a /etc/init.d/rabbitmq-server restart. On restart the
queue I created has 0 messages.

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090430/d4a07191/attachment.htm 


More information about the rabbitmq-discuss mailing list