I am trying a scenario to check how HornetQ in JBoss behaves if there are multiple active hornetq servers in a cluster.
Test bed setup is as follows:
2 Active JMS servers with no backup configured.
1 MDB listening on the queue running on a remote instance.
MDB running in the remote instance discovers the active server based on the multicast address and receives the messages. This is working as expected.
Now when the active JMS server is brought the expected behavior would be that client discovers the other JMS server in the cluster.
This doesn't seem to be happening. The client doesn't hook up to the next available JMS server.
Isn't this expected behavior?
Hi, I had a similar issue and what I heard few months back was that Hornetq does not have that feature of an MDB failing over from one live queue node to another live node but it can failover from a live node to a back node by configuring the back-up-connector.