这是indexloc提供的服务,不要输入任何密码
Skip to content

BusterWood.Msmq

busterwood edited this page Jan 3, 2018 · 6 revisions

A replacement for System.Messaging with features from MSMQ 3.0+, i.e. subqueues and poison message handling for transactional queues.

  • static methods on the Queues class are used to create and delete queues
  • QueueReader is used to peek or read messages from a queue.
  • QueueWriter is used to send messages to a queue.
  • SubQueue is used to peek or read message, and to move messages to subqueues via Queues.MoveMessage static method.
  • QueueCursor is used to peek or receive messages using a MSMQ cursor.
  • QueueTransaction used to commit or abort queue transactions

Poison message handling for transactional queues via the TransactionAbortCount and TransactionMoveCountproperties and the MarkRejected method that sends notification to the message sender that the message was rejected.

Also see

Differences from System.Messaging

Clone this wiki locally