Show Table of Contents
17.9.2. Configuring the HornetQ Servers for Replication
To configure the live and backup servers to be a replicating pair, configure both
hornetq-configuration.xml files to have:
<shared-store>false</shared-store>
.
.
.
<cluster-connections>
<cluster-connection name="my-cluster">
...
</cluster-connection>
</cluster-connections>
The backup server must also be flagged explicitly as a backup.
<backup>true</backup>
<connectors>
<connector name="nameOfConfiguredLiveServerConnector">
<factory-class>
org.hornetq.core.remoting.impl.netty.NettyConnectorFactory
</factory-class>
<param key="port" value="5445"/>
</connector>
<!-- a real configuration could have more connectors here -->
<connectors>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.