[
https://issues.apache.org/jira/browse/ARTEMIS-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272876#comment-17272876
]
Gary Tully commented on ARTEMIS-3064:
-------------------------------------
proving an alternative url configuration may make sense, but this fix would
still be necessary. See https://issues.apache.org/jira/browse/ARTEMIS-347
which introduced a choice on the xml config to have a connector-url replace a
connector-ref + extras.
Something similar would be a nice enhancement for the future.
> Enable/Disable useTopologyForLoadBalancing for federation connections between
> clusters
> --------------------------------------------------------------------------------------
>
> Key: ARTEMIS-3064
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3064
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Federation
> Affects Versions: 2.16.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Priority: Major
> Fix For: 2.17.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> The core client respects the topology for loadbalancing by default. A
> federation connection configures and reuses a server locator via it's circuit
> breaker.
> With ha = false, it looks like we should disable useTopologyForLoadBalancing
> such that the circuit reconnect gets back to the original broker even when
> clustered.
> With ha=true, the reconnect can be to any broker in the cluster in the normal
> way.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)