[rabbitmq-discuss] New consumers for a queue are not receiving any messages.
alexis at rabbitmq.com
Thu Apr 28 10:10:25 BST 2011
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
More information about the rabbitmq-discuss