Vinicius Araujo Geraldo created ARTEMIS-744:

             Summary: Problem to connect in a list of Apache server when 1 or 
more is down.
                 Key: ARTEMIS-744
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Vinicius Araujo Geraldo

The Artemis' Client when pass the list of nodes, if one is down when consumer 
try to connect the client thrown an exception and not connect to another nodes.

Here the code i am using to test:

TransportConfiguration[] servers = {server1, server2};

ActiveMQConnectionFactory connectionFactory = 
ActiveMQJMSClient.createConnectionFactoryWithHA(JMSFactoryType.CF, servers);
factory.createConnection(username, password);

I tried to pass param FailoverOnInitialConnection to ConnectionFactory but 
inside Implementation this param is discarted.

Is import that client connect to available nodes and try to reconnect in future 
to others nodes. 

This message was sent by Atlassian JIRA

Reply via email to