[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)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss