ARTEMIS-4508 the recovery connection factory ignores useTopologyForLoadBalancing.
Fixing the creation of the recovery connection factory so that useTopologyForLoadBalancing is properly set. Issue: https://issues.apache.org/jira/browse/ARTEMIS-4508 Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
This commit is contained in:
parent
42d99dd8f0
commit
6bc7b1bc9f
|
@ -1702,6 +1702,7 @@ public class ActiveMQResourceAdapter implements ResourceAdapter, Serializable {
|
|||
setParams(cf, overrideProperties);
|
||||
|
||||
//now make sure we are HA in any way
|
||||
cf.setUseTopologyForLoadBalancing(raProperties.isUseTopologyForLoadBalancing());
|
||||
|
||||
cf.setReconnectAttempts(0);
|
||||
cf.setInitialConnectAttempts(0);
|
||||
|
|
Loading…
Reference in New Issue