How to subscribe to a topic in MQTT Connector

0
I am using the MQTT Connector widget from marketplace. I set up an connection with AWS. I am able to publish to a topic, but I can't able to subscribe to a topic. Can anyone please guide how to subscribe to a topic using MQTT Connector. I am quite confused like whether the to place a subscribe activity in loop(didn't worked) or should I set a scheduled event trigger for every one second as it is in microflow, as I want to get the data into application every time the data is published from the system. Kindly help me on this.  
asked
1 answers
1

Hi Sudarsanam,

 

image.png

 

image.png

 

image.png

Example:

image.png

 

Topics we generate and retrieve for a specific sensor.

This is the Mendix Soft-Sensor we use for testing:

image.png

 

I hope these examples work for you.

 

Go Make It

answered