You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Balazs Szeti (Jira)" <ji...@apache.org> on 2021/09/28 15:43:00 UTC

[jira] [Commented] (ARTEMIS-3503) OpenWire with custom delimiter overwrites periods in queue names

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

Balazs Szeti commented on ARTEMIS-3503:
---------------------------------------

See code line that converts periods to the delimiter:
https://github.com/apache/activemq-artemis/blob/main/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/amq/AMQSession.java#L532


> OpenWire with custom delimiter overwrites periods in queue names
> ----------------------------------------------------------------
>
>                 Key: ARTEMIS-3503
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3503
>             Project: ActiveMQ 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.3.4#803005)