Spring.Messaging.Nms.Listener.Adapter.MessageListenerAdapter.HandleListenerException C# (CSharp) Метод

HandleListenerException() защищенный Метод

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.

protected HandleListenerException ( Exception ex ) : void
ex System.Exception The exception to handle.
Результат void
        protected virtual void HandleListenerException(Exception ex)
        {
            logger.Error("Listener execution failed", ex);
        }