mirror of https://github.com/apache/activemq.git
validate properties added to disvovered transports
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@981840 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7ad733aa16
commit
c1acb4030d
|
@ -112,7 +112,7 @@ public class MulticastDiscoveryOnFaultyNetworkTest extends JmsMultipleBrokersTes
|
|||
|
||||
@Override
|
||||
protected NetworkConnector bridgeBrokers(BrokerService localBroker, BrokerService remoteBroker, boolean dynamicOnly, int networkTTL, boolean conduit) throws Exception {
|
||||
DiscoveryNetworkConnector connector = new DiscoveryNetworkConnector(new URI("multicast://default?group=TESTERIC"));
|
||||
DiscoveryNetworkConnector connector = new DiscoveryNetworkConnector(new URI("multicast://default?group=TESTERIC&useLocalHost=false"));
|
||||
connector.setDynamicOnly(dynamicOnly);
|
||||
connector.setNetworkTTL(networkTTL);
|
||||
localBroker.addNetworkConnector(connector);
|
||||
|
|
Loading…
Reference in New Issue