[ 
https://issues.apache.org/jira/browse/ARTEMIS-4911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18039124#comment-18039124
 ] 

ASF subversion and git services commented on ARTEMIS-4911:
----------------------------------------------------------

Commit f0a73ca779e68b06e18b33290222404f8cb0298b in activemq-artemis's branch 
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=f0a73ca779 ]

ARTEMIS-4911 don't increase routed msg count when queue filter rejects message


> 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
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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


Reply via email to