You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2022/11/15 15:39:00 UTC
[jira] [Updated] (ARTEMIS-3871) ActiveMQ Artemis 2.23.0 -- mqtt 5.0, mqtt client can't subscribe multiple share topic?
[ https://issues.apache.org/jira/browse/ARTEMIS-3871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram updated ARTEMIS-3871:
------------------------------------
Description:
{code:xml}
<dependency>
<groupId>org.eclipse.paho</groupId>
<artifactId>org.eclipse.paho.mqttv5.client</artifactId>
<version>1.2.5</version>
</dependency>{code}
I use the Eclipse Paho MQTT 5 client to subscribe to:
{noformat}
$share/c9/cloud/#, $share/c10/app/#, $share/c11/wx/#{noformat}
Then the broker creates three queues:
!image-2022-06-23-10-24-09-054.png!
But if I subscribe to
{noformat}
$share/c12/cloud/#, $share/c12/app/#, $share/c12/wx/#{noformat}
Then the broker just creates one queue:
!image-2022-06-23-10-27-54-288.png!
Why?
was:
<dependency>
<groupId>org.eclipse.paho</groupId>
<artifactId>org.eclipse.paho.mqttv5.client</artifactId>
<version>1.2.5</version>
</dependency>
I use eclipse paho mqtt5 client to subscire '{color:#de350b}*$share/c9//cloud/#,$share/c10//app/#,$share/c11//wx/#*{color} ' ,then activemq artemis server create tree queues
!image-2022-06-23-10-24-09-054.png!
but I use eclipse paho mqttclient to subscire '{color:#de350b}*$share/c12//cloud/#,$share/c12//app/#,$share/c12//wx/#*{color} ' ,then activemq artemis server create one queues
!image-2022-06-23-10-27-54-288.png!
why $share/c12//app/#,$share/c12//wx/# can't create ?
ref:
!image-2022-06-23-10-37-43-133.png!
> ActiveMQ Artemis 2.23.0 -- mqtt 5.0, mqtt client can't subscribe multiple share topic?
> -------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-3871
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3871
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 2.23.0
> Reporter: windy
> Assignee: Justin Bertram
> Priority: Major
> Attachments: image-2022-06-23-10-24-09-054.png, image-2022-06-23-10-27-54-288.png, image-2022-06-23-10-37-43-133.png
>
>
> {code:xml}
> <dependency>
> <groupId>org.eclipse.paho</groupId>
> <artifactId>org.eclipse.paho.mqttv5.client</artifactId>
> <version>1.2.5</version>
> </dependency>{code}
> I use the Eclipse Paho MQTT 5 client to subscribe to:
> {noformat}
> $share/c9/cloud/#, $share/c10/app/#, $share/c11/wx/#{noformat}
> Then the broker creates three queues:
> !image-2022-06-23-10-24-09-054.png!
> But if I subscribe to
> {noformat}
> $share/c12/cloud/#, $share/c12/app/#, $share/c12/wx/#{noformat}
> Then the broker just creates one queue:
> !image-2022-06-23-10-27-54-288.png!
> Why?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)