Hi guys,
I am using MQTT Server Library to publish & subscribe MQTT topics.
the publish works, but I think that does not exist the possibility to subscribe a topic fro ma server side.
could you help me to realize it?
I have implemented a work around on AWS going to create lambda fucntion that is invoked when a new message is coming in a topic. then this lambda function is able to invoke an outsystems API.
of course I want implement directly a subscriber on outsystems side. any idea to do it?
thanks
Vincenzo
Vincenzo Divittorio wrote:
Good question. I'm trying to get the "nodemcu" board to get information from a Rest Api Outsystems.
For documentation purposes: I have explored this question as well and I have eventually come to the conclusion that it is not possible to subscribe on the server side. Subscription requires a subscription handler and event handlers cannot be used outside of the context of f.e. a screen.
I will personnally use a MQTT-REST bridge to get it to work.