You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Tobias Knapp <To...@iti-software.de> on 2019/04/03 12:13:43 UTC
How to forward messages to other brokers for automatically created
addresses/queues?
Hello everyone,
I have a question regarding forward messages to another artemis broker over WAN. I tried out different configuration (Queue Federation, Core Bridge) but all works only for preconfigured and not for automatically created addresses/queues. We are looking for something more dynamic where we can forward message to other brokers by wildcards.
So my questions is: Is it possible to setup a mesh of artemis brokers and forward message for automatically created addresses/queues to a specific broker by using wildcards?
Best Regards,
Tobias
Re: How to forward messages to other brokers for automatically
created addresses/queues?
Posted by Justin Bertram <jb...@apache.org>.
I don't see why federation wouldn't work for you. It doesn't require
preconfigured addresses & queues. The address-match and queue-match
configuration parameters use wildcard matching [1]. As a quick test I ran
the "federated-queue" example (at
examples/features/federation/federated-queue) after removing the
preconfigured "exampleQueue" address & queue from the broker.xml files to
force the address & queue to be auto-created and it worked fine.
Justin
[1]
http://activemq.apache.org/components/artemis/documentation/latest/wildcard-syntax.html
On Wed, Apr 3, 2019 at 7:14 AM Tobias Knapp <To...@iti-software.de>
wrote:
> Hello everyone,
>
> I have a question regarding forward messages to another artemis broker
> over WAN. I tried out different configuration (Queue Federation, Core
> Bridge) but all works only for preconfigured and not for automatically
> created addresses/queues. We are looking for something more dynamic where
> we can forward message to other brokers by wildcards.
>
> So my questions is: Is it possible to setup a mesh of artemis brokers and
> forward message for automatically created addresses/queues to a specific
> broker by using wildcards?
>
> Best Regards,
> Tobias
>