Setting an Acknowledgement Mode for an MQTT Trigger
The acknowledgement mode determines when the MQTT trigger acknowledges a message received from MQTT server. The MQTT trigger can acknowledge the message as soon as the message arrives (automatic acknowledgement) or after message processing completes (client acknowledgement).
To set the acknowledgement mode for an MQTT trigger
1. In the Package Navigator view of Designer, open the MQTT trigger for which you want to set the acknowledgment mode.
2. In the Properties view, under General, set the Acknowledgement mode property to one of the following:
Acknowledgement mode | Description |
Client Acknowledgement | The MQTT trigger acknowledges a message to the MQTT server after completing processing for the message. This is the default. |
Auto Acknowledgement | The MQTT trigger acknowledges a message to the MQTT server as soon as the message arrives. |
3. Click File > Save.