[ 
https://issues.apache.org/jira/browse/ARTEMIS-4356?focusedWorklogId=870313&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-870313
 ]

ASF GitHub Bot logged work on ARTEMIS-4356:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Jul/23 12:23
            Start Date: 11/Jul/23 12:23
    Worklog Time Spent: 10m 
      Work Description: gtully commented on PR #4549:
URL: 
https://github.com/apache/activemq-artemis/pull/4549#issuecomment-1630728611

   @jbertram i am not groking the direct option, as in understanding how it may 
change the match logic. We may need some more tests that explore that, if 
nothing shows up in the full test run. If you have some cycles to peek that 
would be great.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 870313)
    Time Spent: 20m  (was: 10m)

> address match with wildcards seems to be broken
> -----------------------------------------------
>
>                 Key: ARTEMIS-4356
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4356
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.29.0
>            Reporter: Gary Tully
>            Priority: Major
>             Fix For: 2.30.0
>
>         Attachments: MatchTest.java
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Using a wildcard address include match in federation, include test.# is too 
> lenient which points to a bug in the address settings matcher that is in play.
>  
> the attached test shows the problem.
> {{final Match<?> underTest = new Match<>("test.#", null, new 
> WildcardConfiguration());}}
> {{Predicate<String> predicate = underTest.getPattern().asPredicate();}}
> {{assertTrue(predicate.test("test.A"));}}
> {{assertFalse(predicate.test("testing.A"));}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to