Integration with ASP

By using the ActiveX controls for accessing MSMQ, you can have your Active Server Pages applications use all of the features of message queuing. This is actually a very efficient way to deploy message queuing applications. Each of the clients that are accessing the application needs only to have a browser on their system. They do not need a copy of the MSMQ client, as the true MSMQ client is the ASP script itself.

The steps that an ASP application goes through to use MSMQ are pretty straightforward. As with any ASP application, the browser client makes a request to an Active Server Pages script file. Within this script file, there are calls to the MSMQ ActiveX objects. These objects can then be used to send or receive messages, manage queues, or monitor the status of queues. The information that these objects provide can then be displayed back on the client with a dynamically created HTML page.

© 1998 by Wrox Press. All rights reserved.