subscription and publish management

41 views
Skip to first unread message

Nicolas Jouanin

unread,
Jul 23, 2015, 4:56:18 PM7/23/15
to mq...@googlegroups.com
Hi,

today’s question : let’s says a client subscribes a topic ‘topicA’. Should a broker send a client it’s own PUBLISH messages if they match a subscribed topic ?
Example:
- client1 subscribes ‘topicA’
- client1 publish on ‘topicA’
-> should a broker send a publish message to client1 or only to other clients which has subscribed to ‘topicA’ ? Or says differently, should a client received its own messages if they match a subscription ?

Regards.

Nicholas O'Leary

unread,
Jul 23, 2015, 5:00:06 PM7/23/15
to mq...@googlegroups.com
All subscribers receive the message, so yes, the client will receive the message if it was subscribed to the topic at the time it published to the topic.

Nick


--
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 http://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages