You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Zhenlei Huang (JIRA)" <ji...@apache.org> on 2015/09/24 17:37:04 UTC

[jira] [Created] (APLO-388) MQTT client won't receive message when reconnected to apollo server with cleanSession=false

Zhenlei Huang created APLO-388:
----------------------------------

             Summary: 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(...) {color:red} // NO response from apollo server {color}

{code}



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