Reading and Receiving Messages

There are several ways you can read and receive messages from the queues in your system. First, you can either receive messages from the queue or you can peek at the messages on a queue without removing them. You can also create an event handler that watches for a new message to arrive and automatically raises an event when the message arrives at the queue. The following pages explain each of these methods of working with queue messages.

In This Section