The Paho component enables integration of applications with the MQTT protocol (version 3), facilitating communication between devices and systems in Internet of Things (IoT) environments.
IMPORTANT
- Supports connection to external MQTT brokers to publish messages and subscribe to topics.
- Integrations cannot be used as an MQTT broker (only as a client).
- Compatible with MQTT protocol versions 3.1.1 and 3.1.
URI Syntax: paho:topic
Path parameters
Name | Description | Default | Type |
|---|---|---|---|
topic (common) | (required) Topic name. | — | String |
Query parameters
Name | Description | Default | Type |
|---|---|---|---|
brokerUrl (common) | The MQTT broker URL. | tcp://localhost:1883 | String |
The flow connects to the public MQTT broker (test.mosquitto.org) on port 1883 using the TCP protocol.
It subscribes to the topic named sensedia-01 and waits for messages published to this topic.
When a message is received, the content (${body}) is logged with the message "Got message" followed by the message body.


The Paho MQTT5 component enables integration of applications with the MQTT protocol (version 5), offering advanced messaging features such as persistent sessions and flow control.
IMPORTANT
- Supports connection to external MQTT brokers to publish messages and subscribe to topics.
- Integrations cannot be used as an MQTT broker (only as a client).
- Compatible with MQTT protocol version 5.
URI Syntax: paho-mqtt5:topic
Path parameters
Name | Description | Default | Type |
|---|---|---|---|
topic (common) | (required) Topic name. | — | String |
Query parameters
Name | Description | Default | Type |
|---|---|---|---|
brokerUrl (common) | The MQTT broker URL. | tcp://localhost:1883 | String |
The flow in the example is identical to the flow described for the Paho component, with the difference that this one uses version 5 of the MQTT protocol.
The flow connects to the public MQTT broker (test.mosquitto.org) on port 1883 using the TCP protocol.
It subscribes to the topic named sensedia-01 and waits for messages published to this topic.
When a message is received, the content (${body}) is logged with the message "Got message" followed by the message body.


We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more