Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageListenerAdapter.HandleListenerException Method

Handle the given exception that arose during listener execution. The default implementation logs the exception at error level.

This method only applies when used as standard NMS MessageListener. In case of the Spring ISessionAwareMessageListener mechanism, exceptions get handled by the caller instead.

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

Parameters

ex
The exception to handle.

See Also

MessageListenerAdapter Class | Spring.Messaging.Nms.Listener.Adapter Namespace