1

I'm trying to get a level of management information available in a system which is being driven by MSMQ queues. I want to know if there's an event which can be listened to, to know when a message is successfully dequeued from a queue.

Ideally the event would be consumed via a .NET application.

This would allow me to keep track of the volume of messages passing through a queue without implementing logic into the receiving service endpoint and enable common mechanisms regardless of receiver (which will be BizTalk in some cases).

4

1 回答 1

1

当成功接收到消息(并因此从队列中删除)时 ,MessageQueue.BeginReceive异步方法会引发ReceivedCompleted事件。

于 2012-11-26T21:57:29.677 回答