Skip to content

QueueWriter

busterwood edited this page Jan 2, 2018 · 2 revisions

Create a new QueueWriter to send messages to a queue.

Methods:

  • Write() sends a message to a queue
  • Dispose() to close the writer and release the underlying queue handle.

Note that messages sent to remote queues are sent asynchronously via local outgoing queues. Sending a message in a transaction is therefore not guaranteed to work when the transaction commits and you must use administration queues or the Postman pattern.

Clone this wiki locally