Florian Meister created ARTEMIS-2888:
----------------------------------------

             Summary: Publishes to Wildcard Topic
                 Key: ARTEMIS-2888
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2888
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: MQTT
    Affects Versions: 2.14.0
         Environment: *Message Producer:*

MQTTnet Client

published Message to  
0e5ed50e-ccea-4a42-8c3e-db0e2780222b/from-smart-acquisition-device/machine-state/event/off

 

*Message Consumer:*

MQTT Paho Java Client, also tested with HiveMQ Java Client.

Subscribed to +/from-smart-acquisition-device/machine-state/event/off
            Reporter: Florian Meister
         Attachments: image-2020-08-27-12-37-01-479.png

When subscribing to a wildcard topic artemis is publishing the MQTT messages to 
the MQTT consumer with the wildcard topic the consumer subscribed to instead of 
the topic the producer published the message to.

This is neither correct nor allowed in the MQTT 3.1.1 specification:

[http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718106]

 

Below a screenshot of an example MQTT Packet sent from the Artemis Broker

!image-2020-08-27-12-37-01-479.png!

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to