欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Set the topic of a published message

程序员文章站 2022-07-14 22:46:06
...
Problem
You want to set the topic of a published MQTT message dynamically.

Solution
Set the topic message property, before sending the message to an MQTT Output node.

Example


Show flow
Discussion
Ensure the Topic field in the MQTT Output configuration dialog is left blank to use the topic message property.