Author: jmesnil
Date: 2010-09-01 10:27:02 -0400 (Wed, 01 Sep 2010)
New Revision: 9623
Modified:
branches/2_2_0_HA_Improvements/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java
Log:
fixed connection to backup on failoverOnInitialConnection
* the connection to the backup was using the params of the *live* connector config
instead of the *backup* connector config
Modified:
branches/2_2_0_HA_Improvements/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java
===================================================================
---
branches/2_2_0_HA_Improvements/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java 2010-09-01
13:54:23 UTC (rev 9622)
+++
branches/2_2_0_HA_Improvements/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java 2010-09-01
14:27:02 UTC (rev 9623)
@@ -220,7 +220,7 @@
connectorFactory =
instantiateConnectorFactory(connectorConfig.getFactoryClassName());
- transportParams = connectorConfig.getParams();
+ transportParams = this.connectorConfig.getParams();
getConnectionWithRetry(initialConnectAttempts);
}
Show replies by date