You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2014/03/31 18:45:16 UTC

[jira] [Resolved] (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 ]

Timothy Bish resolved AMQ-5127.
-------------------------------

    Resolution: Fixed

Fixed by other MQTT hardening work that's gone into 5.10.  Test added on trunk to ensure it stays fixed. 

> 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.9.0
>            Reporter: Netlancer
>              Labels: mqtt
>             Fix For: 5.10.0
>
>         Attachments: AMQ-5127.patch, 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)