[rabbitmq-discuss] Unable to connect multiple consumers to a queue bound to fanned out exchange

Simon MacMullen simon at rabbitmq.com
Thu Jul 14 13:28:35 BST 2011


On 14/07/11 13:15, Simon MacMullen wrote:
> On 14/07/11 01:11, Mitra77 wrote:
>> I get the following message:
>> "Queue message_queue1 has an exclusive consumer. No more consumers
>> allowed."
>
> RabbitMQ never returns that exact error message. QPid does though. Are
> you sure you're using RabbitMQ?

On 14/07/11 01:12, Mitra77 wrote:
 > I am using QPID, but I figured if this is doable in RabbitMQ, then it 
should
 > be possible in QPID too.
 > Am I missing something here?

Oops, missed that bit. Both QPid and RabbitMQ have the concept of an 
"exclusive" consumer - a consumer which won't let anything else share 
the queue it's consuming from. Somehow you're inadvertently creating 
one; it sounds like you don't want to.

Unfortunately I'm no expert on the JMS API (understatement); it's not 
obvious how you might create a non-exclusive consumer (I would have 
expected that would be the default, but hey...)

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list