You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Paddy (JIRA)" <ji...@apache.org> on 2014/05/15 01:14:15 UTC

[jira] [Created] (AMQ-5185) Duplicate messages occur for MQTT cleanSession=false client with network of brokers

Paddy created AMQ-5185:
--------------------------

             Summary: Duplicate messages occur  for MQTT cleanSession=false client with network of brokers 
                 Key: AMQ-5185
                 URL: https://issues.apache.org/jira/browse/AMQ-5185
             Project: ActiveMQ
          Issue Type: Bug
          Components: MQTT
    Affects Versions: 5.9.1
         Environment: Linux. Python client using MQTT Paho library version 0.9
            Reporter: Paddy


Duplicates delivery of messages occur when connecting to a network of brokers with an MQTT client with cleansession=false.
Steps to reproduce test:
1. Form network of brokers A and B
2. Connect "client1" with cleansession=false to broker A and subscribe to topic "paho/test". Make sure client_id is set to "client1".
3. Disconnect client1
4. Connect "client2" to broker A and publish single message "hello" to topic "paho/test".
5. Connect "client1" to broker A and subscribe to "paho/test". Message "hello" would be received.
6. Disconnect "client1"
7. Connect "client1" to broker B and subscribe to "paho/test". Message "hello" would be received (again).

Behavior is the same for publishing with qos=0,1,2.



--
This message was sent by Atlassian JIRA
(v6.2#6252)