Know how to configure an account for MQTT.
About this task
To configure an account for MQTT, you must have access to webMethods Integration with the
necessary permissions, including details of the MQTT broker, Broker URL, user ID, and Password.
Procedure
-
Go to the workflow, double-click the Start icon, add the
MQTT trigger, and click Next.
- On the MQTT configuration page, click the + icon next to
Connect to MQTTto open the Add Account configuration
page. Complete the required fields to complete the configuration.
- The Login field determines the authentication method for the MQTT
connection. Select Login if you need to authenticate by using a user ID and
Password.
Broker URL - Enter the Broker URL of the MQTT server that you are connecting to. The URL
must include the IP address or domain name and the port number of the MQTT broker, for example
mqtt://broker.example.com:1883. If your connection is secure, use
mqtts:// in the Broker URL. If the connection is not secure, use
mqtt://.
User ID - Provide the user ID associated with your MQTT
account.
Password - Enter the password for the MQTT connection. If authentication is required,
this password is used along with the user ID to establish the connection.
-
Select Broker URL if your MQTT broker does not require authentication, or
if authentication is handled separately.
-
Click Add to save the MQTT account configuration.
- After you configure the MQTT account, specify the list of topic IDs for which you want to
set up the triggers on the MQTT configuration page.
- After entering the topic IDs, click Save. Your workflow is now
ready to use the MQTT trigger.