Hi Can you provide more details ? Which broker/client/version are you using ? Are you using persistence messages ?
Generally speaking, message groups are useful when you want all messages with the same JMSXGroupId to be processed serially by the same consumer. It means that messages in the same group (e.g. same JMSXGroupId) are always consumed by the same consumer, even if there are many consumers on a queue. They pin all messages in the same group to the same consumer. If that consumer closes, another consumer is chosen and will receive all messages with the same group id. So, it should work as you expected. Can you please share more details about your use case ? Maybe a reproducer ? Thanks Regards JB On Tue, Mar 4, 2025 at 5:08 PM Nagaraj Murali <nagarajmural...@gmail.com> wrote: > > Hello, > > I am Nagaraj working on Active MQ. To retain order of messages, we used > JMSXGroupId. It worked perfectly fine until ActiveMQ broker or Consumer > restarted. When either of them restarts we are losing order of messages for > a brief period of time. > We are using 3 concurrent consumers. > > Please suggest a suitable solution. > > Please provide access to ASF Slack. > > Thanks, > Nagaraj Murali. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org For additional commands, e-mail: users-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact