MSMQ COM Support
A version of this page is also available for
4/8/2010
Message Queuing provides a set of COM objects for developing Message Queuing applications using COM development tools.
The Message Queuing COM objects provide the most common Message Queuing API functionalities needed for developing Message Queuing applications. These include queue lookup, queue management, message management, and queue administration.
MSMQ COM Object Model
The object model described in the following illustrations provides functionality for sending messages to queues, reading messages in queues, as well as additional queue management functionality. The guiding principle in designing the Message Queuing COM objects is object model simplicity.
The following illustration shows an object sending messages to queues.
Objects Used to Read Messages
The following illustration shows an object that reads messages from a destination queue. (Note that the MSMQDestination object used to send messages cannot be used when reading messages from a queue.)
Objects Used to Locate Queues
The following objects can be used to locate an existing public queue for sending messages or reading messages. These objects can be used to obtain one or more MSMQQueueInfo objects that can then be used to open the queue for sending or reading message.
Application Object
Message Queuing provides a single COM application object that can be used to monitor Message Queuing on a computer, retrieve the machine name and machine identifier of a computer, and register internal and external certificates used to authenticate messages.
See Also
Concepts
Using the COM Components
Application Installation of MSMQ
Administration
Debugging MSMQ Installations
MSMQ Security