Receiving Messages from a Queue (Windows Embedded CE 6.0)
1/6/2010
When the receiving application receives messages from a queue, the receiving application does the following:
- It opens a queue by name.
- It retrieves a message or peeks at a message.
- It sends required response messages.
Call MQReceiveMessage to read a message in a queue.
As with the desktop implementation, when reading messages, you can either peek at them without removing them from the queue, or retrieve the messages, which removes them from the queue.
Messages can be read synchronously or asynchronously.
Reading from a remote queue is not supported.
See Also
Concepts
MSMQ Application Development
Creating Queues
Sending Messages to a Queue
Connecting to Another Device
MSMQ COM Support
MSMQ Security