Moquette internalPublish not consumed by embedded handlers

78 views
Skip to first unread message

Jochen

unread,
Jan 25, 2016, 7:41:33 AM1/25/16
to MQTT
Hi…

using the embedding sample code provided with moquette 0.8 I tried to use embedded moquette. All works great except that I found messages published using internalPublish to be not propagated to any of he embedded handlers provided in the Server constructor.
External messages are forwarded to the embedded handlers and internal publishings are picked up by external subscribers, but internal-to-internal does not work.

What I would like to know before digging into Moquette sources is if Is this intended behavior or in fact a bug?

Ciao

…Jochen



   

Andrea Selva

unread,
Jan 25, 2016, 8:35:01 AM1/25/16
to mq...@googlegroups.com
Hi Jochen
when I've implemented that feature I didn't thought about this case, there is an issue on GitHub about internalPublish  (#143), feel free to add also this case to that bug.

 Andrea

PS
I expect to fix it and perhaps create a minor  release (0.8.1) with such fixes.

--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.

Jochen

unread,
Jan 25, 2016, 8:48:07 AM1/25/16
to MQTT
Hi Andrea…

thank you for the quick reply! Good to know it is already a known issue. i am looking forward to the fix, for now I think I am ok with the actual 0.8 behavior. 

Ah yes, and thanks a lot for making Moquette!

Ciao

…Jochen
Reply all
Reply to author
Forward
0 new messages