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?