Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Service Development Help | Working with MQTT Triggers | Assigning an Execution User to an MQTT Trigger
 
Assigning an Execution User to an MQTT Trigger
For an MQTT trigger, the execution user indicates which credentials Integration Server uses when invoking services associated with the trigger. When a client invokes a service via an HTTP request, Integration Server checks the credentials and user group membership of the client against the Execute ACL assigned to the service. Integration Server performs this check to make sure that the client is allowed to invoke that service. When an MQTT trigger executes, however, Integration Server invokes the service when it receives a message rather than because of a client request. Integration Server does not associate user credentials with a message. You can specify which credentials Integration Server supplies when invoking an MQTT trigger service by setting an execution user for an MQTT trigger.
You can instruct Integration Server to invoke a service using the credentials of one of the predefined user accounts (Administrator, Default, Developer, Replicator). You can also specify a user account that you or another server administrator defined. When Integration Server receives a message for the MQTT trigger, Integration Server uses the credentials for the specified user account to invoke the service specified in the routing rule.
*To assign an execution user to an MQTT trigger
1. In the Package Navigator view of Designer, open the MQTT trigger for which you want to assign the execution user.
2. In the Properties view, under General, in the Execution user property, type the name of the user account whose credentials Integration Server uses to execute a service associated with the MQTT trigger. You can specify a locally defined user account or a user account defined in a central or external directory.
3. Click File > Save.