Author: borges
Date: 2011-10-04 11:05:56 -0400 (Tue, 04 Oct 2011)
New Revision: 11468
Modified:
branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
HORNETQ-720 HORNETQ-776 Make the backup's ServerLocator HA.
Modified:
branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
---
branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-10-04
14:30:50 UTC (rev 11467)
+++
branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-10-04
15:05:56 UTC (rev 11468)
@@ -549,8 +549,7 @@
clusterManager.start();
final TransportConfiguration config =
configuration.getConnectorConfigurations().get(liveConnectorName);
- serverLocator =
-
(ServerLocatorInternal)HornetQClient.createServerLocatorWithoutHA(config);
+ serverLocator =
(ServerLocatorInternal)HornetQClient.createServerLocatorWithHA(config);
serverLocator.setReconnectAttempts(-1);
Show replies by date