Skip to content

QueueReader

busterwood edited this page Jan 2, 2018 · 1 revision

Create a new QueueReader to read or peek messages from a queue.

Methods:

  • Peek() to look at the next message on the queue without removing it
  • PeekAsync() to asynchronously look at the next message on the queue without removing it
  • Read() to read a message from the queue
  • ReadAsync() to asynchronously read a message from the queue
  • Lookup() to read (or peek) a message using messages lookupId
  • Purge() to remove all messages from the queue
  • MarkRejected() to send a negative acknowledgement message of ReceiveRejected to the sender via the message's administration queue. Must be called while message is being received in a transaction.
  • Dispose() to close the reader and release the underlying queue handle.

Clone this wiki locally