Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2455

Unexpected MQTT path separator conversion handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.9.0
    • None
    • MQTT
    • None

    Description

      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

      Attachments

        1. MqttTopicIT.java
          5 kB
          Riccardo Modanese

        Issue Links

          Activity

            People

              Unassigned Unassigned
              riccardo.modanese@eurotech.com Riccardo Modanese
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: