Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimpleMessageListenerContainer.OnException Method

IExceptionListener implementation, invoked by the EMS provider in case of connection failures. Re-initializes this listener container's shared connection and its sessions and consumers.

[Visual Basic]
Public NotOverridable Sub OnException( _
   ByVal exception As EMSException _
) _
    Implements IExceptionListener.OnException
[C#]
public void OnException(
   EMSException exception
);

Parameters

exception
The reported connection exception.

Implements

IExceptionListener.OnException

See Also

SimpleMessageListenerContainer Class | Spring.Messaging.Ems.Listener Namespace