You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Riccardo Modanese (Jira)" <ji...@apache.org> on 2019/08/20 13:39:00 UTC

[jira] [Created] (ARTEMIS-2455) Unexpected MQTT path separator conversion handling

Riccardo Modanese created ARTEMIS-2455:
------------------------------------------

             Summary: Unexpected MQTT path separator conversion handling
                 Key: ARTEMIS-2455
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2455
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: MQTT
    Affects Versions: 2.9.0
            Reporter: Riccardo Modanese
         Attachments: MqttTopicIT.java

Hello, I noticed an unexpected MQTT path separator conversion handling. (May be I'm missing some configuration parameter in the acceptor definition?)

The char '.' on a MQTT topic is handled by Artemis as a topic separator instead of a "normal" topic character. So an MQTT topic like 'a.b.c.d' becames 'a/b/c/d'.

I attach a Junit test I developed for testing different topics.

I used Artemis 2.9.0. The acceptor configuration is:

{{tcp://0.0.0.0:1883?tcpSendBufferSize=1048576&tcpReceiveBufferSize=1048576&protocols=MQTT&allowLinkStealing=true&useEpoll=true}}

 

Regards,

Riccardo



--
This message was sent by Atlassian Jira
(v8.3.2#803003)