Thank you. On Sat, Jun 18, 2016 at 5:06 AM Tim Bain <tb...@alumni.duke.edu> wrote:
> Because "randomize=false", local1 will always be tried first, and local2 > will be tried only if local1 is unavailable. > > I'm not sure what the answer to your second question is, and unfortunately > I don't have the ability right now to read the FailoverTransport source > code to find out. Though of course you could if you have time. > > Tim > On Jun 17, 2016 5:29 PM, "arkin" <arkinye...@gmail.com> wrote: > > In the following example from > http://activemq.apache.org/failover-transport-reference.html > > > failover:(tcp://local1:61616,tcp://local2:61616,tcp://remote:61616)?randomize=false&priorityBackup=true&priorityURIs=tcp://local1:61616,tcp://local2:61616 > > Will local1 always be tried before local2 or is the choice between the two > local urls random? > Once a connection to local2 is established, the client will not attempt to > connect to local1 unless the connection to local2 is disrupted. Is that > correct? > > Thanks, > - Arkin > > > > -- > View this message in context: > > http://activemq.2283324.n4.nabble.com/Question-about-priorityURIs-feature-tp4713129.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >