Hi Erwin,

looking at the source code[1] the server side connector ignores all
addresses other than the first one. I would add a connector for each server.

[1]
https://github.com/apache/activemq-artemis/blob/2.17.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/deployers/impl/FileConfigurationParser.java#L1473

Regards,
Domenico

On Fri, 28 May 2021 at 15:42, Dondorp, Erwin <[email protected]> wrote:

> Hello,
>
> We want to use the federation in a "fair" way and added
> connectionLoadBalancingPolicyClassName=org.apache.activemq.artemis.api.core.client.loadbalance.RandomConnectionLoadBalancingPolicy
> to the connection url. But we see that the connections are still always
> made to the first (available) broker that is mentioned in the url.
> Is connectionLoadBalancingPolicyClassName supposed to work for federation
> connections?
>
> Thx
> Erwin
>

Reply via email to