It sounds like you need to configure message redistribution [1]. Have you done that?
Justin [1] https://activemq.apache.org/components/artemis/documentation/latest/clusters.html#message-redistribution On Mon, Mar 6, 2023 at 12:17 PM prateekjai...@gmail.com < prateekjai...@gmail.com> wrote: > Hi All, > > I am facing an issue where, I have created a 3 node cluster of artemis and > created a distributed queue on it, for example exampleQueue. > > When I send messages to this queue, messages are loadbalanced on each node. > If there is a consumer already listening/connected to any node in cluster > for this queue, it receives all those messages (This is working fine). > > The problem starts if there is no consumer to this queue connected to any > node. Then, when a consumer comes up and connects to a node, it only > receives messages present on that particular node only. Is it possible to > divert all unread messages to this consumer? Any ideas? > > Regards, > Prateek Jain >