The failover policy option in the connection URL for the HA Cluster should be set to roundrobin.
The Master broker should be put into a first place in brokerlist URL option.
The recommended value for connectdelay option in broker URL should be set to
the value greater than 1000 milliseconds. If it is desired that clients re-connect automatically after a
master to replica failure,
cyclecount should be tuned so that the retry period is longer than
the expected length of time to perform the failover.
Example 12.2. Example of connection URL for the HA Cluster
Apache Qpid, Messaging built on AMQP; Copyright © 2015 The Apache Software Foundation; Licensed under the Apache License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, Proton, Apache, the Apache feather logo, and the Apache Qpid project logo are trademarks of The Apache Software Foundation; All other marks mentioned may be trademarks or registered trademarks of their respective owners