Software AG Products 10.7 | Service Development Help | Working with MQTT Triggers | Disabling and Enabling an MQTT Trigger
 
Disabling and Enabling an MQTT Trigger
 
MQTT Trigger States
You can use the Enable property to enable or disable an MQTT trigger from Designer. For example, an MQTT trigger that does not meet all the MQTT trigger requirements such as specifying a trigger service cannot be saved in an enabled state. After you assign a trigger service to the trigger, you need to enable the trigger by setting the Enable property to true. You can only enable an MQTT trigger that meets all the MQTT trigger requirements described in MQTT Trigger Requirements.
*To enable or disable an MQTT trigger
1. In the Package Navigator view of Designer, open the MQTT trigger that you want to enable or disable.
2. In the Properties view, under General, set the Enabled property to one of the following:
Value
Description
True
Enable an MQTT trigger
False
Disable an MQTT trigger.
3. Click File > Save.
Notes:
*Designer will not enable an MQTT trigger if it is missing required parameters. For more information, see MQTT Trigger Requirements.
*When you disable an MQTT trigger, Integration Server stops retrieving messages from the MQTT server. Integration Server does not pull any more messages for processing from the local trigger queue on Integration Server. If the MQTT trigger is currently processing messages retrieved from the local trigger queue, Integration Server waits a short time for message processing to complete. The server configuration parameter watt.server.commonmessaging.trigger.stopRequestTimeOut determines the maximum time that Integration Server waits for processioning to complete. The default is 3 seconds.
*You can enable, disable, and suspend MQTT triggers using Integration Server Administrator.