[rabbitmq-discuss] Message destined for 1 consumer of a group.

Alvaro Videla videlalvaro at gmail.com
Sat May 28 20:12:50 BST 2011


Hi,

I think what you need is the following:

- Bind a queue to a direct exchange.
- Publish messages to that direct exchange.
- Subscribe or "basic.consume" many consumers to that queue. 

RabbitMQ will take care of "round robin" messages to your consumers.

I think this example should help you too: http://www.rabbitmq.com/tutorials/tutorial-two-python.html

Cheers,

-Alvaro

On May 28, 2011, at 7:22 PM, Js wrote:

> Hi list,
> 
> Would it be possible to send a message to a group of consumers and the consumer of that group who responds first gets the message and the rest not? All consumers of that group a treated equal so it doesn't matter who it is.
> What would be the best approach to this kind of setup?
> 
> Cheers,
> 
> Jay
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

Sent form my Nokia 1100





More information about the rabbitmq-discuss mailing list