I am running JBoss 4.2.2 with JBoss Messaging 1.4.0.SP1. I have a cluster of application servers. There is a persistent clustered message queue passing messages to MDBs running on each node.
I need to remove a node from the cluster for an extended period of time and any messages that are local to that node should be processed by other nodes in the cluster.
As far as I understand, if I shutdown the node cleanly then the messages will not be failed over to other nodes in this cluster. I would rather not terminate the process causing failover.
I have read:
But don't seem to be any wiser.
I can live with a solution where I have to execute some code on the node to tell it that it is going to go away and that it should stop consuming messages and that it should redistribute messages in the local queue to other nodes in the cluster.
Any help or pointers would be most appreciated.