connectionAliasName | String Name of the MQTT connection alias to use to send the MQTT message. | ||
topicName | String Name of the topic to which to publish the message. | ||
MqttMessage | Document Document (IData object) A document representing the MQTT message to publish to the MQTT server. | ||
Key | Description | ||
payload | Document Optional. A document containing the MQTT message payload. Integration Server supports the following formats for the message payload. If you do not specify a payload, the service sends an empty byte[]. | ||
Key | Description | ||
string | String Optional. Message body in the form of a String. | ||
bytes | byte [ ] Optional. Message body in the form of a one-dimensional byte array. | ||
qos | String Optional. The quality of service (QoS) for publishing the message to the MQTT server. Specify one of the following: ![]() ![]() ![]() The QoS for publishing messages to the MQTT server is separate from the QoS for receiving messages. As a result, it is possible for a message to be published to the MQTT server with a higher QoS than which the message is received from the MQTT server. | ||
isRetained | String Optional. Flag indicating whether the MQTT server retains the published message as the last known message for the topic. Set to: ![]() ![]() |