activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhenlei Huang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-388) MQTT client won't receive message when reconnected to apollo server with cleanSession=false
Date Thu, 25 Aug 2016 01:07:20 GMT

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

Zhenlei Huang commented on APLO-388:
------------------------------------

There is a another scene that network timeout happens  occasionally, unsubscribe before disconnecting
seems not helpful :(

> MQTT client won't receive message when reconnected to apollo server with cleanSession=false
> -------------------------------------------------------------------------------------------
>
>                 Key: APLO-388
>                 URL: https://issues.apache.org/jira/browse/APLO-388
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-mqtt
>    Affects Versions: 1.7.1
>         Environment: Windows 8 x86_64 Oracle JDK 1.7.0_79, OS X Mavericks Oracle JDK
1.7.0_79
>            Reporter: Zhenlei Huang
>
> MQTT client won't receive message when reconnected to apollo server with cleanSession=false
> {code}
>     client.setCleanSession(false)
>     connect()
>     subscribe("some/topic")
>     disconnect()
>     // reconnect ...
>     connect()
>     subscribe("some/topic")
>     disconnect()
>     // again
>     connect()
>     subscribe("some/topic")
>     disconnect()
>     // again
>     connect()
>     subscribe("some/topic")
>     
>     publish(...)
>     receive(...)  // NO response from apollo server 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message