[
https://issues.apache.org/jira/browse/ARTEMIS-4911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram updated ARTEMIS-4911:
------------------------------------
Description:
When a message is sent to an address which has multicast queues with filters,
and message properties do not match any of the filters, the message is
discarded, but routed message count increases, and unrouted message count does
not change.
Steps to reproduce:
# Create a new Artemis instance.
# Create address {{TEST}} with multicast routing.
# Create a multicast queue {{TEST.FILTER}} with filter e.g. {{key='value'}} on
this address.
# Send a multicast test message:
{noformat}
artemis producer --user=admin --password=admin --url=tcp://localhost:61616
--message-count=1 --destination=topic://TEST{noformat}
The message is not delivered to any queue, but the routed message count of the
address is incremented.
It also happens when sending a message to FQQN
destination=topic://TEST::TEST.FILTER
was:
When a message is sent to an address which has multicast queues with filters,
and message properties do not match any of the filters, the message is
discarded, but routed message count increases, and unrouted message count does
not change.
Steps to reproduce:
1. Create a new Artemis instance.
2. Create address TEST with multicast routing.
3. Create a multicast queue TEST.FILTER with filter e.g. key='value' on this
address.
4. Send a multicast test message:
artemis producer --user=admin --password=admin --url=tcp://localhost:61616
--message-count=1 --destination=topic://TEST
The message is not delivered to any queue, but the routed message count of the
address is incremented.
It also happens when sending a message to FQQN
destination=topic://TEST::TEST.FILTER
> Routed message count increases when message was rejected by filters
> -------------------------------------------------------------------
>
> Key: ARTEMIS-4911
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4911
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.35.0
> Reporter: Aleksandr Milovidov
> Priority: Minor
>
> When a message is sent to an address which has multicast queues with filters,
> and message properties do not match any of the filters, the message is
> discarded, but routed message count increases, and unrouted message count
> does not change.
>
> Steps to reproduce:
> # Create a new Artemis instance.
> # Create address {{TEST}} with multicast routing.
> # Create a multicast queue {{TEST.FILTER}} with filter e.g. {{key='value'}}
> on this address.
> # Send a multicast test message:
> {noformat}
> artemis producer --user=admin --password=admin --url=tcp://localhost:61616
> --message-count=1 --destination=topic://TEST{noformat}
> The message is not delivered to any queue, but the routed message count of
> the address is incremented.
> It also happens when sending a message to FQQN
> destination=topic://TEST::TEST.FILTER
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact