Configure Duplicate Detection and Bridges
37.3. Duplicate Detection and Bridges Core bridges can be configured to automatically add a unique duplicate id value (if there isn't already one in the message) before forwarding the message to it's target. This ensures that if the target server crashes or the connection is interrupted and the bridge resends the message, then if it has already been received by the target server, it will be ignored. To configure a core bridge to add the duplicate id header, simply set the use-duplicate-detection to true when configuring a bridge in hornetq-configuration.xml. The default value for this parameter is true. For more information on core bridges and how to configure them, please see Chapter 36, Core Bridges.