activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Question about priorityURIs feature
Date Sat, 18 Jun 2016 12:06:48 GMT
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" <arkinyetis@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.

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