[rabbitmq-discuss] pika basic_ack dying
Gavin M. Roy
gmr at myyearbook.com
Fri Sep 23 03:38:57 BST 2011
Pika is not designed to work across multiple processes as there is state to the things you are working with. If you want to maintain the multiple process model, I'd use the multiprocessing event manager and the multiprocessing constructs to pass data and events back and forth. I'd not pass the connection around and suspect this is your problem.
On Thursday, September 22, 2011 at 9:41 PM, Stephen Young wrote:
> The main process runs the queue and spawns subprocesses to handle messages from the queue based on their routing key - I pass a reference to the connection object to the subprocess to call upon completion.
>
> as far as i can tell, it's something to do with managing pre-existing data in the queues
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com (mailto:rabbitmq-discuss at lists.rabbitmq.com)
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110922/63b3d4b5/attachment.htm>
More information about the rabbitmq-discuss
mailing list