brusdev commented on code in PR #5847:
URL: https://github.com/apache/activemq-artemis/pull/5847#discussion_r2242588746
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/BindingsImpl.java:
##########
@@ -494,8 +488,11 @@ private static boolean matchBinding(final Message message,
return false;
}
- final Filter filter = binding.getFilter();
+ if (CompositeAddress.isFullyQualified(message.getAddress()) &&
!binding.getClusterName().startsWith(CompositeAddress.extractQueueName(message.getAddressSimpleString())))
{
Review Comment:
Does this check work for 2 queues with names starting the same way, i.e.
`myQueue` `myQueue1`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact