Author: clebert.suconic(a)jboss.com
Date: 2011-09-17 01:43:39 -0400 (Sat, 17 Sep 2011)
New Revision: 11361
Modified:
branches/Branch_2_2_EAP_cluster4/src/main/org/hornetq/core/server/cluster/impl/ClusterManagerImpl.java
Log:
cluster cleanup
Modified:
branches/Branch_2_2_EAP_cluster4/src/main/org/hornetq/core/server/cluster/impl/ClusterManagerImpl.java
===================================================================
---
branches/Branch_2_2_EAP_cluster4/src/main/org/hornetq/core/server/cluster/impl/ClusterManagerImpl.java 2011-09-17
03:38:54 UTC (rev 11360)
+++
branches/Branch_2_2_EAP_cluster4/src/main/org/hornetq/core/server/cluster/impl/ClusterManagerImpl.java 2011-09-17
05:43:39 UTC (rev 11361)
@@ -182,11 +182,6 @@
deployClusterConnection(config);
}
}
-
- for (BridgeConfiguration config : configuration.getBridgeConfigurations())
- {
- deployBridge(config);
- }
}
public synchronized void start() throws Exception
@@ -214,6 +209,11 @@
}
}
+ for (BridgeConfiguration config : configuration.getBridgeConfigurations())
+ {
+ deployBridge(config);
+ }
+
for (Bridge bridge : bridges.values())
{
if (!backup)