[
https://issues.apache.org/jira/browse/AMQ-5185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127845#comment-14127845
]
Timothy Bish commented on AMQ-5185:
-----------------------------------
The workaround transparently subscribes the connect client to a Queue linked to
the virtual topic in question, there's nothing the client needs to do, on its
end everything still appears to be Topic based.
> 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)