[
https://issues.apache.org/jira/browse/ARTEMIS-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
clebert suconic closed ARTEMIS-2479.
------------------------------------
Resolution: Fixed
> 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: 50m
> 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.4#803005)