Thanks for following up, Frank. I would expect a URL like this to work:

  (tcp://master:61616,tcp://slave:61616)?ha=true&reconnectAttempts=-1

Both "randomize" and "backup" are not used by the Artemis JMS core client.

Also, the "failover://" schema is used by OpenWire clients, not Artemis JMS
core clients.


Justin

On Fri, Jul 12, 2019 at 7:13 AM Frank Meilinger <frank.meilin...@gmx.net>
wrote:

> Hello all,
>
> there was an error in my broker.xml files on both master and slave. After
> correcting these, the following URI is working with the "ActiveMQ JMS Core
> Client" library (and also with the artemis command line clients), like it
> should.
>
>
> (tcp://master:61616,tcp://slave:61616)?ha=true&reconnectAttempts=-1&randomize=false&backup=true
>
> Regards
>
>
>

Reply via email to