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

Justin Bertram updated ARTEMIS-5783:
------------------------------------
    Description: 
When creating a shared subscription with MQTT5 e.g. 
{{$share/group/testtopic/1}} and passing a numeric subscription ID (e.g. 
{{100}}) the subscription ID is not sent to the subscriber when a message is 
sent to the topic {{testtopic/1}}.

If a non-shared subscription is made to {{testtopic/1}} then the numeric 
subscription ID is received as expected.

This missing ID makes it impossible to match the incoming message to the 
correct handler.

The code has been tested with Mosquitto, RabbitMQ MQTT, Emqx and HiveMQ and 
works as expected.

  was:
When creating a shared subscription with MQTT5 e.g. $share/group/testtopic/1 
and passing a numeric subscription ID (e.g. 100) the subscription ID is not 
sent to the subscriber when a message is sent to the topic testtopic/1.

If a non-shared subscription is made to testtopic/1 then the numeric 
subscription ID is received as expected.

This missing ID makes it impossible to match the incoming message to the 
correct handler.

The code has been tested with Mosquitto, RabbitMQ MQTT, Emqx and HiveMQ and 
works as expected.


> MQTT5 Shared subscription does not receive subscription ID
> ----------------------------------------------------------
>
>                 Key: ARTEMIS-5783
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5783
>             Project: Artemis
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 2.44.0
>         Environment: ActiveMQ Artemis 2.44.0 running in a docker container on 
> Fedora Linux 43.
>            Reporter: David Smith
>            Priority: Blocker
>
> When creating a shared subscription with MQTT5 e.g. 
> {{$share/group/testtopic/1}} and passing a numeric subscription ID (e.g. 
> {{100}}) the subscription ID is not sent to the subscriber when a message is 
> sent to the topic {{testtopic/1}}.
> If a non-shared subscription is made to {{testtopic/1}} then the numeric 
> subscription ID is received as expected.
> This missing ID makes it impossible to match the incoming message to the 
> correct handler.
> The code has been tested with Mosquitto, RabbitMQ MQTT, Emqx and HiveMQ and 
> works as expected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to