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

Justin Bertram commented on ARTEMIS-4715:
-----------------------------------------

This change was due to ARTEMIS-4532. If you change the test to use 
{{activemq:queue:wildcard.>}} instead of {{activemq:queue:wildcard.#}} then the 
test passes. 

This makes sense because {{>}} is the proper character to use based on the 
[ActiveMQ Classic documentation on 
wildcards|https://activemq.apache.org/components/classic/documentation/wildcards].
 The character {{#}} shouldn't really mean anything to an OpenWire JMS client. 

This worked previously because the {{#}} character was just passed through when 
converting from the OpenWire wildcard format to the Core wildcard format. 
However, now the {{#}} character is _escaped_ during conversion, and that's why 
your test is failing.

At this point I don't think this is a bug and will close this Jira. However, I 
will update the documentation to note this difference for folks who are 
upgrading.

> Consuming from wildcard queues stopped working with 2.33.0
> ----------------------------------------------------------
>
>                 Key: ARTEMIS-4715
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4715
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>    Affects Versions: 2.33.0
>            Reporter: Otavio Rodolfo Piske
>            Priority: Major
>         Attachments: camel-activemq-test-artemis-2.32.log, 
> camel-activemq-test-artemis-2.33.log
>
>
> One of our 
> [tests|https://github.com/apache/camel/blob/main/components/camel-activemq/src/test/java/org/apache/camel/component/activemq/ActiveMQRouteIT.java#L66-L71]
>  that [consumes data from a wildcard 
> queue|https://github.com/apache/camel/blob/main/components/camel-activemq/src/test/java/org/apache/camel/component/activemq/ActiveMQRouteIT.java#L111-L113]
>  has stopped working after migrating to Artemis 2.33.0.
>  
> This test works without problems when using Artemis 2.32.0. I attached the 
> logs from executing the test with 2.32 and 2.33.



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

Reply via email to