35.4. Duplicate Detection and Cluster Connections

Cluster connections internally use core bridges to move messages reliable between nodes of the cluster. Consequently cluster connections can also be configured to insert the duplicate id header for each message moved using internal bridges.
To configure a cluster connection to add the duplicate id header, set the use-duplicate-detection to true when configuring a cluster connection in <JBOSS_HOME>/jboss-as/server/<PROFILE>/deploy/hornetq/hornetq-configuration.xml.
The default value for this parameter is true.
For more information on cluster connections and how to configure them, refer to Chapter 36, Clusters.