activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Netlancer (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQ-5127) MQTT Subscriber with QoS.EXACTLY_ONCE receives messages even after unsubscribing from topic
Date Sun, 30 Mar 2014 05:22:14 GMT

    [ https://issues.apache.org/jira/browse/AMQ-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13954579#comment-13954579
] 

Netlancer edited comment on AMQ-5127 at 3/30/14 5:20 AM:
---------------------------------------------------------

Attached MQTTTest.patch which contains the test to reproduce.


was (Author: netlancermobi):
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: 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)

Mime
View raw message