The documentation does mention using a "hub and spoke" federation topology
[1]. However, as you noted, there's no example configuration. I wonder if
this may be down to the "max-hops" setting you're using.

Can you provide the broker.xml from your brokers attempting to use hub &
spoke?


Justin

[1]
https://activemq.apache.org/components/artemis/documentation/latest/federation-address.html#configuring-downstream-federation

On Wed, Feb 7, 2024 at 6:23 AM Devriendt, Erik
<erik.devrie...@siemens.com.invalid> wrote:

> I tried to set up a small Hub-Spoke topology of 3 Artemis brokers. Each on
> a different machine, and expected to be able to configure address
> federation.
> I have 3 brokers: A, B and C. If I configure them in a full mesh topology,
> address federation works, that is, a consumer on any of the broker machines
> receives messages from any producer on any of the broker machines.
> However, if I configure them as A – B – C, where A-B and B-C have
> symmetrical connections, a consumer on A does not receive messages from a
> producer on C.
> The topic on which producer and consumer work, is created dynamically (so
> not in the broker.xml files) by the consumer or producer.
>
> The examples of the Artemis software only contains examples of full mesh
> federations. Are there any examples available on the internet of a
> federation with hub-spoke topology?
> Or is it not possible to use a hup-spoke topology for federation?
>

Reply via email to