sendToMqtt
Send messages to a MQTT broker.
Experimental Feature: This processor is currently considered experimental and should not be used in production environments.
All messages are delivered with a Quality of Service (QoS) level of 1, which means a guarantee of "at least once" delivery.
Supports MQTT version 3.1.1.
Properties
Name | Summary |
---|---|
|
URL to the MQTT broker. Typically, MQTT supports TCP and SSL protocols. For example: |
|
Topic name to publish messages to. Required. |
|
Key from the server configuration used to look up the credentials needed to connect to the MQTT broker. Optional and uses no authentication by default. |
|
Connection timeout value. Optional. |
|
Socket timeout value. Optional. |
|
|
|
Optional, descriptive name for the processor. |
|
Required identifier of the processor, unique across all processors within the flow. Must be between 3 and 30 characters long; contain only lower and uppercase alphabetical characters (a-z and A-Z), numbers, dashes ("-"), and underscores ("_"); and start with an alphabetical character. In other words, it adheres to the regex pattern |
|
Optional set of custom properties in a simple jdk-format, that are added to the message exchange properties before processing the incoming payload. Any existing properties with the same name will be replaced by properties defined here. |
|
Whether the incoming payload is available for error processing on failure. Defaults to |
Sub-builders
Name | Summary |
---|---|
Strategy for describing the external system integration. Optional. |
|
Strategy for configuring the processor’s circuit breaker. Optional. |
|
Strategy for describing how a processor’s message is logged on the server. |
|
Strategy for archiving payloads. |
|
Strategy that customizes the conversion of an incoming payload by a processor (e.g., string to object). Should be used when the processor’s default conversion logic cannot be used. |
Details
Authentication
The authenticationConfigKey
property supports secrets of type UserNameAndPassword.
See the Secret Types documentation for formatting details.