Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageListenerContainer.HandleListenerException Method

Handle the given exception that arose during listener execution.

[Visual Basic]
Protected Overridable Sub HandleListenerException( _
   ByVal ex As Exception _
)
[C#]
protected virtual void HandleListenerException(
   Exception ex
);

Parameters

ex
The exceptin to handle

Remarks

The default implementation logs the exception at error level, not propagating it to the JMS provider - assuming that all handling of acknowledgement and/or transactions is done by this listener container. This can be overridden in subclasses.

See Also

AbstractMessageListenerContainer Class | Spring.Messaging.Ems.Listener Namespace