-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
Current documentation does not describe the requirements for making federation work with HA endpoints. Setting the <ha> element to true and adding the connectors for the primary and backup brokers doesn't make HA work as expected. We also need to make sure that reconnect-attempts and other attributes are configured appropriately for failover behavior of core API clients. Something like this seems to work:
<federations xmlns="urn:activemq:core">
<federation name="rr-federation" user="admin" password="admin">
<upstream name="rr-upstream">
<ha>true</ha>
<circuit-breaker-timeout>5000</circuit-breaker-timeout>
<reconnect-attempts>3</reconnect-attempts>
<call-failover-timeout>-1</call-failover-timeout>
<static-connectors>
<connector-ref>upstream-primary</connector-ref>
<connector-ref>upstream-secondary</connector-ref>
</static-connectors>
<policy ref="rr-queue-policy"/>
</upstream>
- relates to
-
ENTMQBR-7633 Federated Broker Hangs Indefinitely When Shutting Down
-
- Closed
-
-
ENTMQBR-8131 Queue federation - pull messages on demand in batches, tracking local queue backlog
-
- Closed
-