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

Justin Bertram commented on ARTEMIS-3503:
-----------------------------------------

I don't believe this is something we can do. The [ActiveMQ 
documentation|https://activemq.apache.org/components/classic/documentation/wildcards]
 makes clear that {{.}} is part of their wildcard syntax which means we must 
translate it into the Core wildcard syntax at the boundary. In my opinion, any 
OpenWire application using {{.}} characters in their destination names without 
meaning to use them in the context of wildcards is making an error. Of course, 
this isn't a problem in ActiveMQ itself because there's no translation 
necessary and the wildcard syntax is not configurable.

This same thing is true for MQTT which also has its own wildcard syntax. 

AMQP doesn't define a wildcard syntax which is why it works. The {{.}} 
characters don't need translation.

> OpenWire with custom delimiter overwrites periods in queue names
> ----------------------------------------------------------------
>
>                 Key: ARTEMIS-3503
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3503
>             Project: Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 2.18.0
>            Reporter: Balazs Szeti
>            Priority: Major
>
> We'd like to use a custom delimiter in AMQ7 Broker (so "." can be used in 
> queue names without separating words). The client is using OpenWire protocol. 
> The periods in the queue name are getting converted to the custom delimiter.
> broker.xml:
>       <wildcard-addresses>
>          <delimiter>/</delimiter>
>       </wildcard-addresses>
> The OpenWire client connects (using plain JMS api) to queue 
> "api.test::api.test.queue", which doesn't exist on the broker, so it's 
> auto-created. The actual address and queue created in the broker is 
> "api/test" and "api/test/queue". The same happens if the queue was 
> pre-created, instead of connecting to the existing queue 
> (api.test::api.test.queue), a new queue is created with delimiters 
> (api/test::api/test/queue).
> This only happens with OpenWire, it works fine with AMQP or CORE.
> Tested with AMQ 7.8.2 (Artemis 2.16) and release candidate AMQ 7.9.0.CR6 
> (Artemis 2.18)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to