Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3699

Failover transport: support priority urls

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.5.0
    • 5.6.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

      Attachments

        Activity

          People

            dejanb Dejan Bosanac
            dejanb Dejan Bosanac
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: