[
https://issues.apache.org/jira/browse/AMQ-5358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134641#comment-14134641
]
AR commented on AMQ-5358:
-------------------------
my mistake. Didn't realize that QoS 0 messages are not stored. Thanks for your
help!
> MQTT Durable subscription broken in 5.10 and 5.11
> -------------------------------------------------
>
> Key: AMQ-5358
> URL: https://issues.apache.org/jira/browse/AMQ-5358
> Project: ActiveMQ
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 5.10.0, 5.11.0
> Environment: Mac OS X, MQTT Paho client library version 0.4.0
> Reporter: AR
> Attachments: MqttDurableSubTest.java
>
>
> Durable subscriptions do not work in 5.10 and 5.11-SNAPSHOT.
> Test case:
> Run default broker.
> . Connect "client1" with clean_session=true.
> . Subscribe to topic "paho/test"
> . Disconnect client1
> . Connect "client1" with clean_session=false
> . Subscribe to topic "paho/test"
> . Disconnect "client1"
> . Connect "client2"
> . Publish message "hello world" to topic "paho/test"
> . Disconnect "client2"
> . Connect "client1" with clean_session=false
> . Subscribe to topic "paho/test"
> . Verify that the message is received.
> Junit test code attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)