Using Message Queuing


Updated: July 19, 2016

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.

For an example ofSee
Basics for writing C/C++, C++ COM, and Visual Basic® applicationsWriting Application Examples
Creating queuesCreating Queue Examples
Locating public queues registered in the directory serviceLocating Queue Examples
Opening queues for sending and receiving messagesOpening Queue Examples
Sending messages to a single destination queueSending Message Examples
Sending messages using distribution lists, multicast addresses, and multiple-element format namesSending Messages to Multiple Destination Examples
Reading messages in a destination queueReading 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 reportingSupporting 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.

Community Additions