Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionalMessageListenerContainer.InvokeTransactionalExceptionListener Method

Invokes the transactional exception listener.

[Visual Basic]
Protected Overridable Sub InvokeTransactionalExceptionListener( _
   ByVal e As Exception, _
   ByVal message As Message, _
   ByVal messageQueueTransaction As MessageQueueTransaction _
)
[C#]
protected virtual TransactionAction InvokeTransactionalExceptionListener(
   Exception e,
   Message message,
   MessageQueueTransaction messageQueueTransaction
);

Parameters

e
The exception thrown during message processing.
message
The message.
messageQueueTransaction
The message queue transaction.

Return Value

TransactionAction.Rollback if no exception handler is defined, otherwise the TransactionAction returned by the exception handler

See Also

TransactionalMessageListenerContainer Class | Spring.Messaging.Listener Namespace