receiveFromMqtt
Receive messages from a MQTT broker.
Experimental Feature: This processor is currently considered experimental and should not be used in production environments.
Messages will not be acknowledged to the broker until they have been successfully persisted in the source processor. All messages are received 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 |
---|---|
|
Adds a topic name to a list of topics that the client will subscribe to. At least one topic is required. MQTT also supports wildcard notation to subscribe to multiple topics. For example: |
|
URL to the MQTT broker. Typically, MQTT supports TCP and SSL protocols. For example: |
|
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. |
|
Whether the client and server should remember state across restarts and reconnects. Optional and defaults to |
|
Maximum amount of unconfirmed MQTT messages. Optional and defaults to |
|
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 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.