[ https://issues.apache.org/jira/browse/ARTEMIS-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16926841#comment-16926841 ]
ASF subversion and git services commented on ARTEMIS-2479: ---------------------------------------------------------- Commit 60b62940b9887b962efd7f2e54ba324042e67c0b in activemq-artemis's branch refs/heads/master from Clebert Suconic [ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=60b6294 ] ARTEMIS-2479 Initial connection will not work with infinite retry and multiple nodes > ActiveMQConnectionFactory may not be able to connect with > initialConnectAttempt=-1 > ---------------------------------------------------------------------------------- > > Key: ARTEMIS-2479 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2479 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Affects Versions: 2.10.0 > Reporter: clebert suconic > Assignee: clebert suconic > Priority: Major > Fix For: 2.11.0 > > Time Spent: 40m > Remaining Estimate: 0h > > you get a connectionFactory with this: > ConnectionFactory connectionFactory = new > ActiveMQConnectionFactory("(tcp://localhost:61616,tcp://localhost:61617,tcp://localhost:61618)?ha=true&retryInterval=2000&retryIntervalMultiplier=1.0&reconnectAttempts=-1&initialConnectAttempts=-1&useTopologyForLoadBalancing=true"); > And say only one of these servers are available, the connection will never > succeed. -- This message was sent by Atlassian Jira (v8.3.2#803003)