Share via

Using Message Queuing


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

This section provides example code for performing some of the basic Message Queuing tasks.

Basic Task Examples

For an example of See
Basics for writing C/C++, C++ COM, and Visual Basic® applications Writing Application Examples
Creating queues Creating Queue Examples
Locating public queues registered in the directory service Locating Queue Examples
Opening queues for sending and receiving messages Opening Queue Examples
Sending messages to a single destination queue Sending Message Examples
Sending messages using distribution lists, multicast addresses, and multiple-element format names Sending Messages to Multiple Destination Examples
Reading messages in a destination queue Reading Message Examples
Navigating queues, acknowledging messages, using authentication and encryption, implementing target and source journaling, responding to messages, tracing messages, filtering messages, checking transaction boundaries, changing queue behavior, retrieving and setting queue security information, working in workgroup mode, using queue aliases, and error reporting Supporting Tasks

The Microsoft® Platform SDK also includes the complete source code for several Message Queuing sample applications. For information about these sample applications, see Message Queuing Sample Applications.