You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Netlancer (JIRA)" <ji...@apache.org> on 2014/03/30 07:06:14 UTC
[jira] [Updated] (AMQ-5127) MQTT Subscriber with QoS.EXACTLY_ONCE
receives messages even after unsubscribing from topic
[ https://issues.apache.org/jira/browse/AMQ-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Netlancer updated AMQ-5127:
---------------------------
Attachment: MQTTTest.patch
Attached patch which contains the test.
> MQTT Subscriber with QoS.EXACTLY_ONCE receives messages even after unsubscribing from topic
> -------------------------------------------------------------------------------------------
>
> Key: AMQ-5127
> URL: https://issues.apache.org/jira/browse/AMQ-5127
> Project: ActiveMQ
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 5.10.0
> Reporter: Netlancer
> Labels: mqtt
> Fix For: 5.10.0
>
> Attachments: MQTTTest.patch
>
>
> How to reproduce:
> 1. client c1 ( clientid1) connects, subscribes to topic A with QoS.EXACTLY_ONCE , unsubscribes topic A and disconnects.
> 2. client c2 ( clientid2) publishes to topic A with QoS.EXACTLY_ONCE.
> 3. client c1 ( clientid1) connects back again.
> Expectation : client c1 shouldn't receive any messages as it has already unsubscribed
> Attached test method to reproduce this issue
--
This message was sent by Atlassian JIRA
(v6.2#6252)