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 a shared store

In this recipe, you will learn how to configure HornetQ to provide clustering features by configuring to WildFly instances; one acting as a Live HornetQ server, the other one acting as a Backup HornetQ server.

The overall configuration can be represented as seen in the following image:

Clustering HornetQ using a shared store

Shared store configuration

Within the recipe, we will use a local shared store by giving each live and backup server pair the same data directory. This kind of configuration can also be very useful in both development and test environments to easily simulate high availability and failover capabilities.

In a production environment, ...

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