Menu Search

13.7. Client failover configuration

The details about format of Qpid connection URLs can be found at section Connection URLs of book Programming In Apache Qpid.

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 13.2. Example of connection URL for the HA Cluster