[ https://issues.apache.org/jira/browse/ARTEMIS-2479?focusedWorklogId=309949&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-309949 ]
ASF GitHub Bot logged work on ARTEMIS-2479: ------------------------------------------- Author: ASF GitHub Bot Created on: 10/Sep/19 16:54 Start Date: 10/Sep/19 16:54 Worklog Time Spent: 10m Work Description: clebertsuconic commented on issue #2830: ARTEMIS-2479 Initial connection will not work with infinite retry URL: https://github.com/apache/activemq-artemis/pull/2830#issuecomment-530026630 ready! ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 309949) Time Spent: 40m (was: 0.5h) > 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)