diff --git a/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java b/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java index d1b1029229..9c46be6384 100644 --- a/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java +++ b/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java @@ -280,6 +280,7 @@ public abstract class DemandForwardingBridgeSupport implements NetworkBridge { // set our properties Properties props = new Properties(); IntrospectionSupport.getProperties(this, props, null); + props.setProperty("networkTTL", String.valueOf(configuration.getNetworkTTL())); String str = MarshallingSupport.propertiesToString(props); brokerInfo.setNetworkProperties(str); remoteBroker.oneway(brokerInfo);