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/09/10 01:56:29 UTC
[jira] [Commented] (AMQ-5185) Duplicate messages occur for MQTT
cleanSession=false client with network of brokers
[ https://issues.apache.org/jira/browse/AMQ-5185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127819#comment-14127819 ]
Paddy commented on AMQ-5185:
----------------------------
virtual topic workaround requires consumers to use queues and MQTT clients do not have the concept of queues. Only topics are supported in MQTT.
> 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
> Labels: mqtt
>
> 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.3.4#6332)