activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinicius Araujo Geraldo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARTEMIS-744) Problem to connect in a list of Apache server when 1 or more are down.
Date Wed, 21 Sep 2016 17:27:20 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vinicius Araujo Geraldo updated ARTEMIS-744:
--------------------------------------------
    Summary: Problem to connect in a list of Apache server when 1 or more are down.  (was:
Problem to connect in a list of Apache server when 1 or more is down.)

> Problem to connect in a list of Apache server when 1 or more are 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)

Mime
View raw message