The Generaltab contains configurations related to the MQTT Connection Details.
MQTT Agent Configuration - General tab
Setting
Description
Username
Enter the user name to be used for the connection to the MQTT server.
Password
Enter the password to be used for the connection to the MQTT server.
Use TLS
Select this check box to have the MQTT agent use TLS.
Security Profile
Select the security profile available to be used for encryption.
Note!
This field is enabled when the Use TLS checkbox is selected.
Only the Java Keystore Type, Keystore Path and Keystore Password fields in the Security profile are used by MQTT agent.
A new security profile is automatically generated when importing the MQTT agent workflow configuration of an earlier version prior to MediationZone 9.
Setting up TLS
For more information on setting up TLS, refer to .
Broker Connection
Enter the IP address or hostname of the target broker.
Broker Port
Enter the port value of the target broker.
Ui tab
title
Subscribe
Subscribe Tab
The Subscribe tab contains configurations related to topic subscription, where the MQTT agent will subscribe to 1 or many topics in the subscriber/publisher.
MQTT Agent Configuration - Subscribe tab
Setting
Description
Topic
Enter the value for the MQTT topic in this field.
QoS
Select the value for the Quality of Service.
The three available options are:
At Most Once (0)
At Least Once (1)
Exactly Once (2)
Ui tab
title
Advanced
Advanced Tab
The Advanced tab contains additional properties for the MQTT agent.
MQTT Agent Configuration - Advanced tab
Setting
Description
Keep Alive
Enter a Keep Alive (in seconds) value for the MQTT agent. The Keep Alive is set to 60 seconds by default.
Use Clean Session
Select this check box to have the MQTT agent set to use clean session. MQTT agent is set to use persistent session by default.
Client ID
Enter the value for the Client ID of the MQTT agent.
Use Will Message
Select this check box to have the MQTT agent use Will Message. By selecting this checkbox will enable the following fields.