# How ibmiot retain messages

**URL:** <https://discourse.nodered.org/t/how-ibmiot-retain-messages/42158>\
**Category:** General\
**Created:** [6 March 2021 15:17 UTC](https://discourse.nodered.org/t/how-ibmiot-retain-messages/42158 "2021-03-06T15:17:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fikerplunk](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@fikerplunk](https://discourse.nodered.org/u/fikerplunk)\
**Post date:** [6 March 2021 15:17 UTC](https://discourse.nodered.org/t/how-ibmiot-retain-messages/42158/1 "2021-03-06T15:17:11Z")

</div>

Hi! I'm using ibmiot nodes to send messages to my ESP32 device, I would like to know if I can activate the retain flag so that I can receive the data when I subscribe to the topic.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/b/1b71c021ce0261dbe98d7d9694ac8b1145e3db27.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [6 March 2021 17:07 UTC](https://discourse.nodered.org/t/how-ibmiot-retain-messages/42158/2 "2021-03-06T17:07:17Z")

</div>

No. The Watson IoT platform doesn't do retained messages.

---

<div class="post-metadata">

**Author:** ![fikerplunk](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@fikerplunk](https://discourse.nodered.org/u/fikerplunk)\
**Post date:** [6 March 2021 17:26 UTC](https://discourse.nodered.org/t/how-ibmiot-retain-messages/42158/3 "2021-03-06T17:26:04Z")

</div>

Thanks for the answer!

What are the most suitable mqtt brokers?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [6 March 2021 18:24 UTC](https://discourse.nodered.org/t/how-ibmiot-retain-messages/42158/4 "2021-03-06T18:24:49Z")

</div>

Mosquitto is the one usually used. Simple to install and setup and 100% reliable.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [5 May 2021 18:25 UTC](https://discourse.nodered.org/t/how-ibmiot-retain-messages/42158/5 "2021-05-05T18:25:30Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
