[rabbitmq-discuss] Behavior of consumers listening to the same queue

Matthew Sackman matthew at lshift.net
Sat Apr 24 13:19:25 BST 2010


On Sat, Apr 24, 2010 at 01:56:21AM -0700, Pierre Coquentin wrote:
> Is there no way to ensure that messages are processed in parallel by both consumers except by registering them on two different connections ? Or am I just missing something ?

You should be using 2 different *queues*. Then one consumer per *queue*.
Provided the queues are bound to the same exchanges with the same
binding keys, they will both get the same messages.

Matthew



More information about the rabbitmq-discuss mailing list