[rabbitmq-discuss] Receiving messages from multiple queues
Michael Klishin
mklishin at gopivotal.com
Thu Feb 13 04:32:03 GMT 2014
On 13 Feb 2014, at 03:45, Dennis Jacobfeuerborn <djacobfeuerborn at gmail.com> wrote:
> On the web I see examples that create a server-named queue and then use a binding to receive messages but that only seems to work if the consumer is running while messages are published. If I first publish a message and only later start the consumer then I don't get the old messages from the queues the messages where delivered to.
That’s not correct. Consumers that are added to a queue that already has messages will
receive deliveries.
Use a topic exchange + N queues and N consumers (or the same consumer can be registered
on all queues). See tutorial 5:
http://www.rabbitmq.com/getstarted.html
MK
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss
mailing list