Hi,
I am creating a receiver for the broker connection between Artemis and ActiveMQ
(Classic) using AMQP. The correct link is created, specifying the queue that
matches the filter, so the source and target are set to the queue name.
ActiveMQ Classic correctly determines which queue to read from and sends the
corresponding messages. However, it sets the value of the message's address
field with the queue:// prefix. When Artemis receives a message with this
address, it forwards it to an address that includes the prefix, which is
strange and unexpected. It seems that the address field in the
ProtonServerReceiverContext should also be populated when creating a receiver
in a broker connection. This would ensure that the message is sent to the
correct destination.
Example of amqp connection:
<amqp-connection auto-start="true" name="WITH-CLASSIC" reconnect-attempts="-1"
retry-interval="5000" uri="tcp://localhost:61617">
<receiver address-match="TEST"/>
</amqp-connection>
Resulting in messages been sent to queue://TEST
—
Regards
Iliya Grushevskiy