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

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

    [ https://issues.apache.org/jira/browse/ARTEMIS-744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526718#comment-15526718 ] 

Justin Bertram commented on ARTEMIS-744:
----------------------------------------

Can you provide a reproducible test-case?

> Problem to connect in a list of nodes 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)