Author: clebert.suconic(a)jboss.com
Date: 2011-07-29 23:56:15 -0400 (Fri, 29 Jul 2011)
New Revision: 11073
Modified:
branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java
Log:
fixing tests
Modified:
branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java
===================================================================
---
branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java 2011-07-29
22:39:12 UTC (rev 11072)
+++
branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java 2011-07-30
03:56:15 UTC (rev 11073)
@@ -664,7 +664,7 @@
protected Bridge createClusteredBridge(MessageFlowRecordImpl record) throws Exception
{
- final ServerLocatorInternal targetLocator =
(ServerLocatorInternal)HornetQClient.createServerLocatorWithoutHA(record.getConnector());
+ final ServerLocatorInternal targetLocator = new
ServerLocatorImpl(this.clusterManagerTopology, false, record.getConnector());
targetLocator.setReconnectAttempts(0);
Show replies by date