[rabbitmq-discuss] New consumers for a queue are not receiving any messages.

Alexis Richardson alexis at rabbitmq.com
Thu Apr 28 10:10:25 BST 2011


Allan

My understanding is that yes this is how shared queues work.  The
queue delivers messages to connected consumers on a round robin basis.

alexis


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?
>
> Allan.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


More information about the rabbitmq-discuss mailing list