Embedded Server

16 views
Skip to first unread message

Paul Fremantle

unread,
Sep 9, 2016, 2:38:41 PM9/9/16
to mq...@googlegroups.com
Responding to Nicholas's old email:


Nicholas Humfrey n...@aelius.com via googlegroups.com 

13/04/2014
to mqtt
Hello,

Has anyone tried embedding an MQTT broker in an application with server socket style API semantics - much like 0mq?

The particular scenario I am considering at the moment is controlling a media player (much like mpd) using the MQTT protocol and making it easier to setup by not requiring a separate broker. Client tools could then use the MQTT protocol without users having to know.

nick.

I recently built a server that does this. I used Matteo Collina's Aedes node.js tool:


It worked really well. In particular, I was mapping OAuth2 flows into MQTT and I needed to do my own security processing and make sure that responses only were delivered to the right clients, etc. Because I embedded it into my OAuth2 server it made all that a lot easier.

Paul 

--
Paul Fremantle
Part-time PhD student - School of Computing
twitter: pzfreo / skype: paulfremantle / blog: http://pzf.fremantle.org
Co-Founder, WSO2
Apache Member and Committer
07740 199 729
Reply all
Reply to author
Forward
0 new messages