之乎者也,阿弥陀佛

软件设计的原则就是,化繁为简,化难为易,把人的思维集中在简单的领域,然后通过有序的组合实现复杂的逻辑。

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

A poison message is a message containing information that an application cannot successfully process. A poison message is not a corrupt message, and may not be an invalid request.

 

Service Broker provides automatic poison message detection. When a transaction that contains a RECEIVE statement rolls back five times, Service Broker disables all queues that the transaction received message from, by automatically setting the QUEUE STATUS to OFF. In addition, Service Broker generates an event of type Broker: Queue Disabled.

 

Excerpted from the following URLs, MSDN. Click on the links to get more detail.

 

References:

1. Removing Poison Messages, http://msdn2.microsoft.com/en-us/library/ms166137.aspx

2. Handling Poison Messages, http://msdn2.microsoft.com/en-us/library/ms171592.aspx


posted on 2011-08-31 17:10  搏击的小船  阅读(235)  评论(0编辑  收藏  举报