Designer 10.5 | webMethods Service Development Help | Working with MQTT Triggers | Overview of Building an MQTT Trigger
 
Overview of Building an MQTT Trigger
Building an MQTT trigger includes the stages described in the following table:
Stage 1
Create the MQTT trigger on Integration Server.
During this stage, you create the MQTT trigger on the Integration Server where you will do your development and testing.
Stage 2
Specify the MQTT connection alias that the MQTT trigger uses to connect to the MQTT server.
The MQTT connection alias specifies the MQTT server on which the trigger creates subscriptions as well as whether the subscriptions created by the trigger will persist across sessions.
Stage 3
Specify the topics to which the MQTT trigger subscribes.
Stage 4
Specify the service that processes messages received by the MQTT trigger as well as the data format for the message payload when the payload is placed in the input pipeline for the trigger service.
Stage 5
Set MQTT trigger properties. During this stage, you set the size of the local trigger queue, the maximum number of concurrent threads for message processing, and transient error handling.
Stage 6
Test and debug the MQTT trigger.
Integration Server includes the pub.mqtt:publish service that you can use to publish MQTT messages and therefore test the trigger.