clebert suconic created ARTEMIS-2479:
----------------------------------------

             Summary: 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
             Fix For: 2.11.0


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)

Reply via email to