Contour.Transport.RabbitMQ.Internal.RabbitBus.HandleBusFailure C# (CSharp) 메소드

HandleBusFailure() 개인적인 메소드

private HandleBusFailure ( Exception exception ) : void
exception System.Exception
리턴 void
        private void HandleBusFailure(Exception exception)
        {
            if (this.IsStarted && !this.IsShuttingDown)
            {
                // restarting only if not already stopping/stopped
                this.logger.ErrorFormat("Channel failure was detected. Trying to restart the bus instance [{0}].", exception, this.Endpoint);
                this.Restart();
            }
        }