Question

ActiveMQ / JMS has a built in-mechanism for ensuring that messages that share a common header (namely, the JMSXGroupID header) are always consumed by the same consumer of a queue when using a competing consumers pattern. The consumers of a queue are completely agnostic of the actual header values, as the guarantee of messages with a common header is performed server-side and not consumer-side. For more details on how this works, see http://activemq.apache.org/message-groups.html .

Is doing such a thing possible with AMQP or with something RabbitMQ specific?

Was it helpful?

Solution

As of the time this answer is written, this is not possible with AMQP alone and will require work on the application side of things. RabbitMQ plans on implementing something like this in the future, but it is not slated for release or development anytime soon.

Reference: https://twitter.com/old_sound/status/410898209788411904

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