O'Reilly logo

WildFly Cookbook by Luigi Fugaro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Clustering HornetQ using message replication

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:

<shared-store>false</shared-store>

Our final configuration should provide the following architecture:

Clustering HornetQ using message replication

Message replication configuration

Getting ready

To get started, let's first create an adhoc folder to run our WildFly. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required