[rabbitmq-discuss] Send same message to ALL workers at once?

Jerry Kuch jerryk at rbcon.com
Sat Nov 17 23:09:02 GMT 2012


Hi, Matthew:

Have you considered fanout or topic exchanges?  Take a look at the tutorial
entires on those and see fi their behaviors match what you'd like to
accomplish.  Depending on the details you desire they may be an ideal match.

Jerry

On Sat, Nov 17, 2012 at 2:32 PM, Matthew Young <mabufo at gmail.com> wrote:

> Hello all, I am reading through the rabbitMQ tutorial, and I've reached
> the "Round Robin Dispatching" section in the 2nd tutorial. I was able to
> create multiple "workers" and any messages added to the queue they were
> both looking at would be spread out between them. I was wondering if there
> was a way to force a message to be sent to all workers reading from a
> particular queue? It appears that  the message is "removed" from the queue
> once a worker gets it, but I'd like all workers looking at a queue to read
> the message. I was also considering, as perhaps a better way of achieving
> the above,  having each worker listen to a unique queue so I could tell
> each worker what to do specifically - is this a common rabbitMQ idiom?
>
> Thank you.
>
> _______________________________________________
> rabbitmq-discuss mailing list
> 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/20121117/faecb3af/attachment.htm>


More information about the rabbitmq-discuss mailing list