Cursors
Cursors are used by MSMQ to keep track of an application's place in a queue. An application can maintain and manipulate many cursors simultaneously using the MSMQ Library. The MSMQ ActiveX queue objects maintain a single cursor behind the scenes. Both mechanisms enable messages to be examined and optionally removed as cursors are advanced through the queue. Because several applications can interact with a queue concurrently, cursors might not always point to a message. Such is the case when another application removes a message from a queue after your application has already advanced its cursor to that message, but before your application has a chance to actually remove the message.
Cursors are used only when you are interested in messages ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access