20.9. Message Grouping
20.9.1. About Message Grouping
A message group is a set/group of messages which share certain characteristics:
- All messages in a message group are grouped under a common group id. This means that they can be identified with a common group property
- All messages in a message group are serially processed and consumed by the same consumer irrespective of the number of customers on the queue. This means that a specific message group with a unique group id is always processed by one consumer when the consumer opens it. If the consumer closes the message group the entire message group is directed to another consumer in the queue
Message groups are especially useful when there is a need for messages with a certain value of the property (group id) to be processed serially by a single consumer.