MQTT Pub Broker Documentation
Version: 2.0.6
Retrieved:Â 2025-10-09 15:16:05
MQTT Publisher
The module is used to publishmessages to MQTT clients subscribing to a mathcing topic in the Crosser MQTT broker. It will also be possible to call other flows that have a MQTT Subscriber module with a matching topic.
This module is designed to be at the end of a flow.
Settings
Note: additional settings will be added in the future to support things like QoS
| Name | Requirements | Purpose | Default |
|---|---|---|---|
| Topic* | Length: 0-256 | Topic for the MQTT message | "" |
| Source Property | Length: 1-256 | The property that contains the MQTT message to send | message |
| Retain* | bool | If true the message will be stored as the ```last known good value``` for the topic. | false |
| UseRetainInMessage | bool | If true the retain flag in the message will have higher priority than Retain on settings. | false |
| Message Format | Raw,JSON, XML | If an object is passed in this sets the text-format to use when sending the MQTT message | JSON |
Input
All settings marked with a * can be passed in on the incoming message. So for example we can set the topic by passing in a message like this.
{topic:'foo/bar'}
Note that the value in settings has higher priority than the value in the message.
Output
This module does not have any output. It will pass a null value to the next module(s)
Search Documentation
Destinations
Protocols