Creating and Managing Triggers and Rules for Triggers


Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

MSMQ 3.0 provides a complete user interface for administering the built-in version of the Message Queuing Triggers service. The Message Queuing online Help supplied with Windows® XP Professional or operating systems from the Windows Server 2003 family describes how to run the service and to create and manage triggers and their rules in this user interface. Triggers and their rules can be created only on the local computer.

For both the built-in (MSMQ 3.0) and stand-alone (MSMQ 2.0) versions of the Message Queuing Triggers service, you can use the applicable version of the Triggers Admin utility (Trigadm.exe) to administer Message Queuing Triggers from the command line on the local computer. You can use this utility to:

  • Set or view the configuration parameters for Message Queuing Triggers.

  • Add, modify, or delete triggers.

  • Add, modify, or delete rules.

  • Obtain information about an existing trigger or rule.

  • Obtain a list of all the triggers or rules on the local computer.

  • Attach a rule to an existing trigger or detach a rule from a trigger.

For more information on performing these tasks using the Triggers Admin utility, see the accompanying Readme.txt file or run the utility using the help switch. For example, to obtain a list of the available administration operations, type the following command at the command prompt:

trigadm /?  

The utility provides complete information on the syntax for requesting each administration task and the available options. For example, to obtain the information for creating a new trigger, type the following command at the command prompt:

trigadm /request:AddTrigger /?  


You can write scripts that call the Triggers Admin utility to deploy a predefined set of triggers and rules on multiple computers after the Message Queuing Triggers service has been installed.

The Triggers Admin utility is available from the Microsoft® Download Center.

More Information

For information on See
General features of the Message Queuing Triggers Service Triggers
The components of Message Queuing triggers Trigger Components