The information in this article applies to:
SUMMARYMicrosoft Message Queue Server (MSMQ) does not come with "trigger" functionality for queues. A "trigger" is a software component that monitors a queue for a certain condition and performs some action when that condition is met. Currently, trigger functionality must be implemented in the application. The MSMQ software development kit (SDK) provides documentation on how to use notification events to provide asynchronous handling of messages, which is one kind of trigger functionality. However, you can also use Performance Monitor counters to monitor for triggering conditions. This article points you to a sample application that shows you how to write a trigger using a Performance Monitor counter. MORE INFORMATION
The sample, "MQTrigger," is written in Visual Basic and C++. It uses a
timer event to periodically poll a Performance Monitor counter for a
message count. The sample application displays a dialog box when the
message count in a queue reaches the threshold.
ftp://ftp.microsoft.com/bussys/distapps/msmq/samples/1.0/mqtrigger.exe REFERENCESFor more information on Performance Monitor, see the "Optimizing Windows NT" volume of the Windows NT 3.51 Resource Kit. Additional query words: Perfmon app
Keywords : kbprg MQProg |
Last Reviewed: August 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |