Question

Is it possible to make multiple consumers to share one single queue in RabbitMQ? I am currently using this php library to work with RabbitMQ, from what I observe, although I have 2 identical instances of a consumer script running, but only one would respond to the message passed...

Was it helpful?

Solution

If you want both consumers to see all messages, give each consumer its own (probably private) queue and bind them both to the same exchange.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top