In this recipe, we will learn how to configure a cluster with a live and a backup HornetQ server.
HornetQ cluster environment can be achieved by using a shared store (live and backup servers share the same and the entire data directory) as per the previous recipe, or via message replication which happens at the network layer—message replication mode can be achieved using the following setting:
Our final configuration should provide the following architecture:
To get started, let's first create an
adhoc folder to run our WildFly. ...