The group id is dynamic. So we cant really have a set of consumers with a pre-defined set of group ids.
One way to handle this is to spin up a singleton actor consumer for a group id if none exists. Will be great if ActiveMQ supports this concept of "dynamic group id" out of the box so there is a fixed set of consumers for the MessageGroup. As long as there is one consumer is processing a message for a group id, then new messages will not be dispatched. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html