on-internet
← Community

How to redistribute grouped messages when the last local consumer disconnects in an Apache Artemis cluster?

Stack Overflow ·

I have a 3-node Apache ActiveMQ Artemis 2.57.0 cluster (ss-0, ss-1, ss-2) using ON_DEMAND message load balancing. The same queue exists on all three nodes. I use message grouping (JMSXGroupID) to ensure that messages with the same key are processed sequentially by a single consumer. The consumers are Spring Boot application instances using JMS listeners (@JmsListener). Messages are published by a separate producer application that sets the JMSXGroupID header. Scenario All three Artemis nodes initially have active consumers for the same queue. Messages containing JMSXGroupID are published. The

Comments

Sign in or sign up to comment and upvote.

No comments yet.