Yes, failover works on a single instance. I think I mentioned that in my
first reply. You don't need to list two brokers. You just need to have the
failover: keyword in the connection URI.

On Thu, Oct 13, 2016, 7:49 AM Tim Bain <tb...@alumni.duke.edu> wrote:

> Yes, the failover transport works in all three dialects (Java, .NET, and
> C++).
>
> On Oct 13, 2016 7:08 AM, "magmasystems" <mad...@quantifisolutions.com>
> wrote:
>
> > Thanks guys. As I mentioned, the devs tend to do stuff on their laptops
> > without running multiple instances of ActiveMQ. They basically go to the
> > ActiveMQ directory, run the activemq.bat file, do some debugging, and
> then
> > CTRL+C out of ActiveMQ. If there are any patterns or tricks we could use
> to
> > get automatic failover out of a single instance, I would love to know
> about
> > it. Could you do something like:
> >
> >     failover:(tcp://localhost:61616,tcp://remotehost:61616)
> >
> > Hmmmm ... according to
> > http://activemq.apache.org/failover-transport-reference.html, you should
> > be
> > able to. But, will that work with ActiveMQ NMS?
> >
> > -marc
> >
> >
> >
> > --
> > View this message in context: http://activemq.2283324.n4.
> > nabble.com/ActiveMQ-NMS-and-Failure-Recovery-tp4717704p4717859.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
>

Reply via email to