Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3329

Configure C++ client connections to replace url-addresses rather than merging new addresses with old

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • C++ Client
    • None

    Description

      Setting the "reconnect-urls" client option actually merges the new URLs with the old. This patch allows that to be configured:
      if "reconnect-urls-replace" is set to true then the old URLs are replaced instead. This us useful in long-running failover tests that generate an unlimited series of different broker addresses. The default is the old merge behaviour as this is safer for a fixed-size cluster: in the event of a partion you don't want the failover list to be replaced by a list containing only the losing brokers, that would leave the client stranded.

      Attachments

        Activity

          People

            aconway Alan Conway
            aconway Alan Conway
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: