[rabbitmq-discuss] Python & RabbitMQ — Communicate Between Parent & Children?

Matthias Radestock matthias at rabbitmq.com
Mon Jul 18 13:59:36 BST 2011


On 15/07/11 22:51, csharpplusproject at gmail.com wrote:
> The workers' messages to the parent are independent of the parent's
> message to the workers. These are two separate things that work in
> parallel.
>
> Note that the parents sends *the same message* to all workers, while
> (separately) each one of the workers sends *its own unique message*
> straight to the parent.

As Jason suggested, the parent->child messaging could be accomplished 
with a fanout exchange an private per-worker queues.

And for the child->parent communication, just get the parent to create a 
queue with a well-known name and get the children to publish to that via 
the default exchange.

> I am brand new to rabbitMQ -- is it possible to provide some further
> info / code snippets that would allow me to get a better sense of
> things?

If you haven't done so already, please go through our tutorials at 
http://www.rabbitmq.com/getstarted.html


Regards,

Matthias.


More information about the rabbitmq-discuss mailing list