Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.5.0
-
None
-
None
Description
In some use cases it's important to detect that "local" broker is available and force reconnecting to it.
For example if we have url like
failover:(tcp://local:61616,tcp://remote:61616)?priorityBackup=true
should try to backup "local" transport until it's ready and reconnect there when available.
By default only the first url is considered "priority". If you want to further tune what urls are considered prioritized you can use something like
failover:(tcp://local1:61616,tcp://local2:61616,tcp://remote:61616)?priorityBackup=true&priorityURIs=tcp://local1:61616,tcp://local2:61616