activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mk666aim <matt.k...@aimia.com>
Subject Re: replicated static master/slave - which is the correct URI for an artemis-jms-client?
Date Thu, 01 Aug 2019 11:35:20 GMT
The below URL does not seem to work for me.
Client basically never switches to the backup node. Isn't that what
reconnectAttempts=-1 will cause?

I used following URL before and the switching happened:

*(tcp://master:61616,tcp://slave:61616)?reconnectAttempts=5*

What am I missing?

And what is the *ha* flag about?


jbertram wrote
> Thanks for following up, Frank. I would expect a URL like this to work:
> 
>   (tcp://master:61616,tcp://slave:61616)?ha=true&reconnectAttempts=-1





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
View raw message