Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] MQTT <-> REST+websocket mapping

The MQTT _javascript_ client referred to in Leif's blog post implements the MQTT specification over  WebSockets. It is a full implementation of the MQTT spec (binary format not JSON) and works in modern web browsers that support RFC 6455. This is something that IBM are happy to contribute to Paho extending the set of MQTT client libraries / language bindings.

It follows the the same approach as the  WebSocket client in Mosquitto.  There are a few design points that MQTT over WebSockets clients and servers need to be consistent on in order for different implementations to be inter-operable. These are captured on the wiki entry here: http://wiki.eclipse.org/Paho/Paho_Websockets    This is something that should be fed into the MQTT OASIS standards process.

All the best
Dave

 



From:        "andypiperuk@xxxxxxxxx" <andypiperuk@xxxxxxxxx>
To:        General development discussions for paho project <paho-dev@xxxxxxxxxxx>,
Date:        19/03/2013 14:26
Subject:        Re: [paho-dev] MQTT <-> REST+websocket mapping
Sent by:        paho-dev-bounces@xxxxxxxxxxx




Additionally, it seems that IBM is formally adding support for MQTT over websockets to WebSphere MQ (per http://leifdavidsen.wordpress.com/2013/03/19/133/) in a forthcoming fix pack. Not clear if this / the specification for this will be open or not though. 

On Tue, Mar 19, 2013 at 12:56 AM, andypiperuk@xxxxxxxxx <andypiperuk@xxxxxxxxx> wrote:

On Mon, Mar 18, 2013 at 6:50 PM, Matteo Collina <hello@xxxxxxxxxxxxxxxxx> wrote:
You and all the others convinced me.  So, mqtt over websocket is definitely the way to go.
I plan to start crafting something on GitHub on this issue.

So the main discussion on MQTT and WebSockets has so far been around mosquitto and the IBM implementations - do pay attention to the Paho wiki page that Nick linked to, and feel free to discuss here further in an additional thread if appropriate.

Keen to ensure that the solution is something that we can all agree on (and it does sound like we are moving in this direction!)



--
Andy Piper | Farnborough, Hampshire (UK)
blog:
http://andypiper.co.uk   |   skype: andypiperuk
twitter: @andypiper  |  images:
http://www.flickr.com/photos/andypiper



--
Andy Piper | Farnborough, Hampshire (UK)
blog:
http://andypiper.co.uk   |   skype: andypiperuk
twitter: @andypiper  |  images:
http://www.flickr.com/photos/andypiper _______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/paho-dev


Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Back to the top