Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IDistributedTransactionExceptionHandler Interface

Exception handler for use with DTC based message listener container. such as DistributedTxMessageListenerContainer. See SendToQueueDistributedTransactionExceptionHandler for an implementation that detects poison messages and send them to another queue.

For a list of all members of this type, see IDistributedTransactionExceptionHandler Members .

[Visual Basic]
Public Interface IDistributedTransactionExceptionHandler
public interface IDistributedTransactionExceptionHandler

Types that implement IDistributedTransactionExceptionHandler

Type Description
SendToQueueDistributedTransactionExceptionHandler detects poison messages by tracking the Message Id property in memory with a count of how many times an exception has occurred. If that count is greater than the handler's MaxRetry count it will be sent to another queue. The queue to send the message to is specified via the property M essageQueueObjectName.


Namespace: Spring.Messaging.Listener

Assembly: Spring.Messaging (in Spring.Messaging.dll)

See Also

IDistributedTransactionExceptionHandler Members | Spring.Messaging.Listener Namespace