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 3D0CB10038 for ; Wed, 19 Mar 2014 12:55:52 +0000 (UTC) Received: (qmail 34076 invoked by uid 500); 19 Mar 2014 12:55:49 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 33981 invoked by uid 500); 19 Mar 2014 12:55:48 -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 33736 invoked by uid 99); 19 Mar 2014 12:55:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2014 12:55:44 +0000 Date: Wed, 19 Mar 2014 12:55:44 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AMQ-5108) MQTT subscriptions for cleansession=true MUST be non-durable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully reassigned AMQ-5108: ------------------------------- Assignee: Gary Tully > MQTT subscriptions for cleansession=true MUST be non-durable > ------------------------------------------------------------ > > Key: AMQ-5108 > URL: https://issues.apache.org/jira/browse/AMQ-5108 > Project: ActiveMQ > Issue Type: Bug > Components: MQTT > Affects Versions: 5.9.0 > Reporter: Dhiraj Bokde > Assignee: Gary Tully > Fix For: 5.10.0 > > Attachments: AMQ-5108.patch > > > When MQTT cleansession flag is set to 1, the Broker MUST remove existing subscriptions for the provided client id as well as not leave any subscriptions created in that clean session around after the network connection is closed. ActiveMQ MUST therefore create non-durable subscriptions for cleansession=1 sessions. > A patch is attached that adds this behavior, as well as fixes some small issues in MQTT tests. It also includes a fix to remove connection info when the connection is shutdown due to a transport error or exception. -- This message was sent by Atlassian JIRA (v6.2#6252)