maydemirx / moquette-mqtt

Automatically exported from code.google.com/p/moquette-mqtt
Apache License 2.0
0 stars 1 forks source link

Does not return valid topic strings on Retained publications #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Publish a bunch of retained messages on different topics to the broker
2. Run this code 
https://gist.github.com/andypiper/5866586#file-list-broker-topics-rb

What is the expected output? What do you see instead?
Expect to see a list of topics and message data. I only see # as the topic.

Original issue reported on code.google.com by andypiperuk on 26 Jun 2013 at 11:09

GoogleCodeExporter commented 8 years ago
The error is due to the fact that on publish retained after a subscribe the 
topic inserted into the PublishMessage is not the one of the original but the 
one of the registration.

Fix ASAP with testing coverage

Original comment by selva.an...@gmail.com on 27 Aug 2013 at 4:34

GoogleCodeExporter commented 8 years ago
Issue 13 has been merged into this issue.

Original comment by selva.an...@gmail.com on 27 Aug 2013 at 4:38

GoogleCodeExporter commented 8 years ago
Solved with 
http://code.google.com/p/moquette-mqtt/source/detail?r=afcc20f483ee50a2c52eab1cf
7b275ce45dd14d1

Original comment by selva.an...@gmail.com on 28 Aug 2013 at 8:29