activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhiraj Bokde (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQ-5108) MQTT subscriptions for cleansession=true MUST be non-durable
Date Wed, 19 Mar 2014 15:15:03 GMT

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

Dhiraj Bokde edited comment on AMQ-5108 at 3/19/14 3:13 PM:
------------------------------------------------------------

Patch to fix cleansession behavior and improvements to tests, also marked testResendMessageId()
as ignored as it causes unexplained failures as mentioned in AMQ-4712. 


was (Author: dhirajsb):
Patch to fix cleansession behavior and improvements to tests, also makred testResendMessageId()
as ignored as it causes unexplained failures as mentioned in AMQ-4712. 

> 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)

Mime
View raw message