activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anna Jaworska <>
Subject Re: Config for setting up active passive broker pair
Date Tue, 10 Jul 2018 21:39:16 GMT
You are mixing network of brokers with master-slave setup. You don't need
network definition in master-slave.
In master slave connectivity is based on common storage. Master is simply a
broker that has lock on storage,  while slave is actively checking if lock
can be acquired (because master died).  Read up on  if you want to setup master -

wt., 10.07.2018, 22:58 użytkownik avmpt <> napisał:

> I would like to set up an active passive broker pair and was unsure of what
> to use for the networkConnector config settings. I can set up a connection
> if i simply reference the other broker using a static url in my
> activemq.xml
> for amq-broker1
>   <networkConnectors>
>           <networkConnector
>                 name="broker1-broker2-topics"
>                 uri="static:(tcp://amq-broker2:61616)">
>                 <excludedDestinations>
>                         <queue physicalName=">" />
>                 </excludedDestinations>
>           </networkConnector>
>         </networkConnectors>
> But is this considered a master/slave pair or is this simply just a network
> of brokers that will sync messages? What I would like is that amq-broker1
> is
> the master and amq-broker2 is the passive so that it only runs/becomes
> active if amq-broker1 goes down. I tried using master slave but I get
> errors
> because I only reference the slave (amq-broker2). I read somewhere that you
> should not include the broker whose config you are setting in the list so
> I'm not sure how to distingush amq-broker1 as master.
> --
> Sent from:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message