You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some legacy devices that send to a topic that should be changed.
I tried to implement the modification of the message with a plugin that uses the server.OnMsgArrived hook, but it seems that I can modify the payload but not the topic.
Hi,
We have some legacy devices that send to a topic that should be changed.
I tried to implement the modification of the message with a plugin that uses the server.OnMsgArrived hook, but it seems that I can modify the payload but not the topic.
here is the code:
Following the code described in this issue #24. I tried to republish the message with this code:
With the code above, a new message is published to another topic and the incoming message is supressed.
Is this code the right way to go?
Thank you very much!!!
The text was updated successfully, but these errors were encountered: