Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMessageTransactionExceptionHandler Interface

The exception handler within a transactional context.

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

[Visual Basic]
Public Interface IMessageTransactionExceptionHandler
[C#]
public interface IMessageTransactionExceptionHandler

Types that implement IMessageTransactionExceptionHandler

Type Description
SendToQueueExceptionHandler Keeps track of the Message's 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 using the provided MessageQueueTransaction. The queue to send the message to is specified via the property MessageQueueObjectName.

Remarks

The return value indicates to the invoker (typically a TransactionalMessageListenerContainer) whether the MessageTransaction that is associated with the delivery of this message should be rolled back (placing the message back on the transactional queue for redelivery) or commited (removing the message from the transactional queue)

Requirements

Namespace: Spring.Messaging.Listener

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

See Also

IMessageTransactionExceptionHandler Members | Spring.Messaging.Listener Namespace