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

Erwin Dondorp commented on ARTEMIS-3180:
----------------------------------------

[~gtully]
The description in 
https://activemq.apache.org/components/artemis/documentation/latest/wildcard-syntax.html
 is a bit incomplete when you see the actual possibilities.
* it does not mention that {{#}} is allowed also at the start or in the middle 
of a pattern
* it does not mention that {{a.b.#}} also matches {{a.b}}, i.e. it can ignore 
the delimiter before {{#}}
* it does not mention that wildcards can be combined with text, as in 
{{a.b.c*.#}}. this works, but it is unclear whether that was intentional. and 
what would {{x#}} mean?

> Consumers with wildcards addresses broken
> -----------------------------------------
>
>                 Key: ARTEMIS-3180
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3180
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP, Broker
>    Affects Versions: 2.17.0
>         Environment: Artemis 2.17.0 
> openjdk version "1.8.0_275"
> OpenJDK Runtime Environment (build 1.8.0_275-b01)
> OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)
>            Reporter: Sebastian T
>            Assignee: Gary Tully
>            Priority: Blocker
>             Fix For: 2.18.0
>
>         Attachments: artemis-3180.zip
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> While upgrading from Artemis 2.16.0 to 2.17.0 several of our test cases 
> started failing.
> We are using AMQP and QPid JMS to communicate to Artemis.
> The issue seems to be related to subscriptions with wildcards.
> Sending a message to an address "topics.aaa.bbb.ccc" with a consumer 
> subscribed to "topics.#.aaa.#" and one with "topics.#.bbb.#" only the 
> consumer subscribed to "topics.#.aaa.#" receives the message.
> I am attaching a test case illustrating the issue.
> Running "mvn test" executes it with Artemis 2.17.0 and will fail. "mvn test 
> -Dartemis.version=2.16.0" executes the test with Artemis 2.16.0 and will 
> succeed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to