Track Message Routing
Applies To: Windows Server 2008
You can use this procedure to track Message Queuing message routing.
Membership in <Domain>\Domain Users, or equivalent, is the minimum required to complete this procedure. Review the details in Additional considerations in this topic.
To track Message Queuing message routing
Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
On the View menu, click Users, Groups, and Computers as containers, and then click Advanced Features.
In the console tree, right-click msmq.
- Active Directory Users and Computers/YourDomain/YourOrganizationalUnit (such as Computers or Domain Controllers)/YourComputer/msmq
Click the Diagnostics tab, and then click Define Tracking. The Message Route Tracking dialog box appears.
The tracking message route feature is disabled by default after installing Message Queuing. For instructions on turning on this feature, see Additional references.
In Path name of report queue, click the applicable report queue. Or, to create a new queue for report messages, click New and type the queue path name (such as MyComputer\MyQueue or .\MyQueue).
Click Track all messages or click Track only test messages.
After sending test messages is enabled, you can also send a test message from the Computer Management snap-in. To do this, click Start, point to Run, type compmgmt.msc, and press ENTER to display the Computer Management MMC console. Then click Services and Applications, right-click Message Queuing, and then click Properties. On the Diagnostics tab, click Define Tracking.
Any public queue can serve as a report queue. For information about how to create a new queue for report messages before performing this procedure, see Additional references.
If you click Track all messages and if the sending application has set the message route tracking flag and the destination queue is located on another computer, all messages sent by such an application from the source computer have their routes tracked. All report messages sent along the route of each message are then sent to the report queue on the source computer. Tracking occurs both for messages sent by the source computer and for messages routed through a Message Queuing server with routing enabled.
If you click Track only test messages, report messages are sent only for test messages. For information about how to send a test message, see Additional references.
Messages sent locally to a queue on the same computer are not tracked.
Messages sent over HTTP/HTTPS transport and messages sent to multiple destinations using IP multicast, distribution lists, or multiple-element format names cannot be tracked in the current version of Message Queuing.