None of the code or configuration came through on your first email. In the
second email it didn't come through either, but some of it is visible on
the Nabble web page.

That said, I think the problem is the URL you're using (i.e.
"(tcp://activemq-1:61616,tcp://activemq-2:61616)"). You aren't specifying
the proper parameters to enable fail-over & reconnection. You should use
something like this:


(tcp://activemq-1:61616,tcp://activemq-2:61616)?ha=true&reconnectAttempts=-1

I recommend you take a look at the "multiple-failover-failback" example
shipped with the broker in
<ARTEMIS_HOME>/examples/features/ha/multiple-failover-failback. It
demonstrates how to do what your attempting.

To be clear, the Artemis client doesn't support the "failover://" schema.
That's used by the OpenWire client (i.e. the client shipped with ActiveMQ
5.x).


Justin

On Mon, Jul 8, 2019 at 12:27 PM bob.sandif...@sirsidynix.com <
bob.sandif...@sirsidynix.com> wrote:

> Sorry - a couple of other things.
>
> The exception I get on the client (when I shut down the master ActiveMQ)
> and
> try to send a message to ActiveMQ is:
>
>
>
> I'm using a URL like this:
>
>
> I tried:
>
> but got an exception like this:
>
>
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>

Reply via email to