You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Vinicius Araujo Geraldo (JIRA)" <ji...@apache.org> on 2016/09/21 17:27:20 UTC

[jira] [Created] (ARTEMIS-744) Problem to connect in a list of Apache server when 1 or more is down.

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
                 URL: https://issues.apache.org/jira/browse/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
(v6.3.4#6332)