Apache.NMS.ActiveMQ.Transport.Failover.BackupTransport.OnException C# (CSharp) Method

OnException() public method

public OnException ( ITransport t, Exception error ) : void
t ITransport
error System.Exception
return void
        public void OnException(ITransport t, Exception error)
        {
            this.disposed = true;
            if(failoverTransport != null)
            {
                this.failoverTransport.Reconnect(false);
            }
        }