From 981c0f20fa96b9d30c362cae779cfbe60a5f5e5b Mon Sep 17 00:00:00 2001 From: gtully Date: Fri, 23 Jan 2015 11:27:10 +0000 Subject: [PATCH] fix hang on org.apache.activemq.network.FailoverStaticNetworkTest - network connector vm creation clashing with broker stop --- .../java/org/apache/activemq/network/NetworkBridgeFactory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/activemq-broker/src/main/java/org/apache/activemq/network/NetworkBridgeFactory.java b/activemq-broker/src/main/java/org/apache/activemq/network/NetworkBridgeFactory.java index 585e90513d..41a9d9e7e9 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/network/NetworkBridgeFactory.java +++ b/activemq-broker/src/main/java/org/apache/activemq/network/NetworkBridgeFactory.java @@ -76,6 +76,7 @@ public final class NetworkBridgeFactory { HashMap map = new HashMap(URISupport.parseParameters(uri)); map.put("network", "true"); map.put("async", "true"); + map.put("create", "false"); // we don't want a vm connect during shutdown to trigger a broker create uri = URISupport.createURIWithQuery(uri, URISupport.createQueryString(map)); return TransportFactory.connect(uri); }