[rabbitmq-discuss] New consumers for a queue are not receiving any messages.
kamauallan at gmail.com
Thu Apr 28 13:09:35 BST 2011
On Thu, Apr 28, 2011 at 12:10 PM, Alexis Richardson <alexis at rabbitmq.com> wrote:
> My understanding is that yes this is how shared queues work. The
> queue delivers messages to connected consumers on a round robin basis.
> On Tue, Apr 19, 2011 at 6:33 AM, Allan Kamau <kamauallan at gmail.com> wrote:
>> Is it possible to populate a queue then start multiple consumers to
>> receive messages from the given queue without having the queue
>> restricted to a single consumer's connection.
>> From using the provided Java Client examples, it seems that when a
>> queue is populated before the existence of any consumers, the first
>> consumer to be started will have exclusive connection to the this
>> queue, other client instances and/or threads will wait and not receive
>> any message(s). Is this expected, is there a way to allow for
>> instances of consumers started after the first message has been
>> consumed from a particular queue to also participate in the
>> consumption of the remaining messages in the queue?
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
This this is very true, when I disabled the round robin feature all
was well as each new client joining in would also get to opportunities
to fetch jobs from the queue.
More information about the rabbitmq-discuss