Queue and Computer Administration

 

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

Message Queuing 3.0 introduces API functions, COM objects and methods, and a new set of queue and computer management properties that can be used to administer Message Queuing programmatically.

Note

As of version 3.0, MSMQ no longer needs to be installed on a domain controller (DC), though you may need to install the MSMQ Downlevel Client Service on a DC to support Windows 2000 clients.

The MQMgmtAction function can be used to connect or disconnect a computer from the network and the directory service, clean up empty message storage files, pause and resume the transmission of messages from an outgoing queue, and resend a pending transaction sequence. The equivalent COM methods are:

Read-Only Management Properties

Another new API function for computer and queue management is MQMgmtGetInfo, which retrieves the new read-only management properties of a computer or a queue. This function receives a MQMGMTPROPS structure, which specifies the properties to be retrieved, as an In parameter. The read-only management properties for a computer and their COM equivalents include:

New Read-Only Management Properties

The new read-only management properties returned by MQMgmtGetInfo for a specified queue and the equivalent COM properties, which belong to the new MSMQManagement, MSMQQueueManagement, and MSMQOutgoingQueueManagement objects, include:

See Also

New Features for Windows XP and the Windows 2003 Family