Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6980910B14 for ; Tue, 4 Mar 2014 17:37:04 +0000 (UTC) Received: (qmail 4393 invoked by uid 500); 4 Mar 2014 17:37:03 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 4123 invoked by uid 500); 4 Mar 2014 17:37:00 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 4059 invoked by uid 99); 4 Mar 2014 17:36:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 17:36:57 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 17:36:52 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WKtG9-0002j4-5W for dev@activemq.apache.org; Tue, 04 Mar 2014 09:36:05 -0800 Date: Tue, 4 Mar 2014 09:35:49 -0800 (PST) From: netlancer To: dev@activemq.apache.org Message-ID: <1393954549832-4678509.post@n4.nabble.com> Subject: mqtt subscription information not removed from persistence store MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_185746_9128059.1393954549923" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_185746_9128059.1393954549923 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I am using activemq-5.10-SNAPSHOT codebase for mqtt. I tried the following scenarioclient c1 ( clientid1) connects, subscribes to topic A , unsubscribes topic A and disconnects.client c1 ( clientid1) connects back again, the callbacks for addConsumer/removeConsumer gets called for topic A.The restoreDurableSubs in MQTTProtocolConverter does a subscribe for the topic even though client c1 has unsubscribed.the persistence store configured is leveldb. I have not tried with kahadb.The behavior is same for paho client and mqtt-client.Please, let me know if this is a defectThanks,nl -- View this message in context: http://activemq.2283324.n4.nabble.com/mqtt-subscription-information-not-removed-from-persistence-store-tp4678509.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. ------=_Part_185746_9128059.1393954549923--