[ 
https://issues.apache.org/jira/browse/ARTEMIS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florian Meister updated ARTEMIS-2888:
-------------------------------------
    Description: 
Sometimes the topic name of published messages contains the topic filter 
instead of the topic name.

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!

 

  was:
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!

 


> 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
>            Priority: Major
>         Attachments: image-2020-08-27-12-37-01-479.png
>
>
> Sometimes the topic name of published messages contains the topic filter 
> instead of the topic name.
> 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