mirror of https://github.com/apache/activemq.git
fix hang on org.apache.activemq.network.FailoverStaticNetworkTest - network connector vm creation clashing with broker stop
This commit is contained in:
parent
35115fece7
commit
981c0f20fa
|
@ -76,6 +76,7 @@ public final class NetworkBridgeFactory {
|
|||
HashMap<String, String> map = new HashMap<String, String>(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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue