Why do you want to HASingleton?
The goal of using HA-Singleton is to achieve master/slave topology.
Thanks, I know what HASingleton is.
I was asking why you wanted to use it with HornetQ. HornetQ provides live/backup HA functionality without requiring HASingleton. You should read the user manual.
Sorry about the confusion Tim. That's not what I intended to mean.
I have gone through the user manual. The live-backup pair suits the requirement most, but it is the problem with the synchronization.
As the manual says,
"The next release of HornetQ will provide functionality for automatically synchronizing a new backup node to a live node without having to temporarily bring down the live node."
That's where my concern is. That means it requires manual intervention to keep it in sync. And if I go for shared journal, where would it be kept? live or backup? And in shared mode the back up server needs to get restarted as well.
Considering these points, I was thinking to use mixed flavor.
Just a thought on the same note, if I do not use HornetQ topology, I can simply leave the connector and acceptor configuration out, so that the network
is not being looked up for discovery of servers. On the other hand, I can use the HASingletonDeployer service of JBoss. As such, I can achieve the master-slave topology.
Please suggest which option would be the best.
I'd suggest waiting for 2.2. There are a bunch of HA improvements currently being worked on, as discussed on the dev forum.
Thanks a ton for your input Tim.