Single broker failover mode does not work as expected. More specifically, single broker failover allows connections to more than one broker.
Create a connection url with
1) Failover mode = singlebroker AND
2) Brokerlist = BROKER1, BROKER2, BROKER3
First time the client connects, it connects to BROKER1 as expected. I stop BROKER1 and attempt another connection. Because the failover mode is singlebroker I expect the second connection to fail.. even though there are other active brokers mentioned in the broker list.
Section 7.3.1 of the user guide describes the singlebroker mode as “Failover is not supported; the connection is to a single broker only.”.
- MRG Messaging 1.3 and 2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.