I'm trying to understand how Artemis does its routing (I'm using Artemis 2.11.0). I would like to configure two different addresses STATUS_LOG.V01
and STATUS_LOG.V02
. From a JMS perspective one is a queue (V01) and one is a topic (V02). The topic should multicast its messages to the previously defined queue. I have the following in broker.xml:
<address name="STATUS_LOG.V01">
<anycast>
<queue name="STATUS_LOG.V01" />
</anycast>
</address>
<address name="STATUS_LOG.V02">
<multicast>
<queue name="STATUS_LOG.V01" />
</multicast>
</address>
When I send a message to the STATUS_LOG.V01
address I see it in the STATUS_LOG.V01
queue through the web UI as expected. When I publish a message to the STATUS_LOG.V02
address I expect to see the message in the STATUS_LOG.V01
queue, but I don't.
We have an existing queue which receives status messages (STATUS_LOG.V01
) from endpoint adapters. Ultimately, we would like to add another destination (STATUS_LOG.V02
) (a topic destination - PUBSUB behavior) to be used for future releases. However, we want the messages received on the new topic to be routed to the existing queue. Is this doable in ActiveMQ Artemis?