How to build chat application using MQTT

2,039 views
Skip to first unread message

chandan khatri

unread,
Mar 28, 2016, 2:51:57 AM3/28/16
to MQTT
Hi All,

I am totally new to mqtt and I am trying to do a POC for a chat application. My requirements are:

1. Users can exchange messages (1to1)
2. User can create a group and start exchanging messages with everyone.

For both the requirements I need to have users subscribe to a chat room. Not sure how I can do that, any help/pointers are highly appreciated.

Thanks,
CK

Francis Brosnan Blázquez

unread,
Mar 29, 2016, 12:24:52 PM3/29/16
to mq...@googlegroups.com
Hi Chandan,

Here you have wonderful slides by Bryan Boyd explaining
a concrete proposal about a set of messages, interactions and
subscription pattern for a chat application:

http://www.slideshare.net/BryanBoyd/dynamic-apps-with-websockets-and-mqtt-ibm-impact-2014

Relevant information starts at 17 page,
Best Regards,
--
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.

-- 
Francis Brosnan Blázquez - ASPL
91 134 14 22 - 91 134 14 45 - 91 116 07 57

http://aspl.es
http://asplhosting.com
http://twitter.com/aspl_es
http://twitter.com/asplhosting

AVISO LEGAL

Este mensaje se dirige exclusivamente a su destinatario. Los datos
incluidos en el presente correo son confidenciales y sometidos a secreto
profesional, se prohíbe divulgarlos, en virtud de las leyes vigentes. Si
usted no lo es y lo ha recibido por error o tiene conocimiento del mismo
por cualquier motivo, le rogamos que nos lo comunique por este medio y
proceda a destruirlo o borrarlo.

En virtud de lo dispuesto en la Ley Orgánica 15/1999, de 13 de
diciembre, de Protección de Datos de Carácter Personal, le informamos de
que sus datos de carácter personal, recogidos de fuentes accesibles al
público o datos que usted nos ha facilitado previamente, proceden de
bases de datos propiedad de Advanced Software Production Line, S.L.
(ASPL). No obstante, usted puede ejercitar sus derechos de acceso,
rectificación, cancelación y oposición dispuestos en la mencionada Ley
Orgánica, notificándolo por escrito a:
ASPL - Protección Datos, C/Antonio Suárez 10 A-102, 28802, Alcalá de
Henares (Madrid).

chandan khatri

unread,
Mar 29, 2016, 1:08:15 PM3/29/16
to mq...@googlegroups.com
Thanks Francis, I'll check that out.

Regards,
Chandan

You received this message because you are subscribed to a topic in the Google Groups "MQTT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mqtt/NN22VWkPExE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mqtt+uns...@googlegroups.com.

Harish K

unread,
Dec 14, 2017, 11:12:50 PM12/14/17
to MQTT
how can i send data from one system to another system which is connected wireless using mqtt

Thomas

unread,
Dec 15, 2017, 10:00:12 AM12/15/17
to MQTT
Harish,

Send the data on a certain topic and make sure that the receiving client is subscribed to that topic.

Good luck,
Thomas

greg...@laposte.net

unread,
Jan 19, 2018, 5:17:01 AM1/19/18
to MQTT
BTW, you may also want to look into https://webrtc.org/.
Reply all
Reply to author
Forward
0 new messages