MQTT
Last updated
Was this helpful?
Last updated
Was this helpful?
Publish incoming message payload to the topic of the configured MQTT broker with QoS AT_LEAST_ONCE.
Configuration:
Topic pattern - can be a static string, or pattern that is resolved using Message Metadata properties. For example ${deviceType}
.
Host - MQTT broker host.
Port - MQTT broker port.
Connection timeout - timeout in seconds for connecting to MQTT broker.
Client ID - optional client identifier used for connecting to MQTT broker. If not specified, default generated clientId will be used.
SSL Enable/Disable - enable/disable secure communication.
Credentials - MQTT connection credentials. Can be either Anonymous, Basic or PEM.
Different Authentication credentials are supported for external MQTT broker:
Anonymous - no authentication
Basic - username\password pair is used for authenticating
PEM - PEM certificates are used for Authentication
If PEM credentials type is selected, the following configuration should be provided:
CA certificate file
Certificate file
Private key file
Private key password
Published body - Node will send full Message payload to the MQTT topic. If required, Rule Chain can be configured to use chain of Transformation Nodes for sending correct Payload to the MQTT broker.
In case of successful message publishing, original Message will be passed to the next nodes via Success chain, otherwise Failure chain is used.