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

                 Key: QPID-3329
                 URL: https://issues.apache.org/jira/browse/QPID-3329
             Project: Qpid
          Issue Type: Improvement
            Reporter: Alan Conway


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to