Red Hat Bugzilla – Bug 468859
Application needs to be able to choose order in which failover urls are tried
Last modified: 2011-08-12 12:20:57 EDT
I.e. when failing over if the known urls for other nodes are A, B and C, the application should be able to control the order in which they are tried.
No test info. Putting NEEDINFO flag.
The list of urls to try can be passed in to FailoverManager::connect() if required. It is also possible to set a ReconnectionStrategy on the FailoverManager instance that will be invoked to allow the application to edit the list of urls prior to a reconnection attempt.
There is an example of this in qpid/cpp/examples/failover/resuming_receiver.cpp that simply rotates the proposed list to the left by one.
Feature implemented. Code inspection took place.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.