public void Stop() { IsBlockingApplicationMessages = true; try { ima.Stop(); } catch (Exception exc) { log.Error(ErrorCode.Runtime_Error_100108, "Stop failed.", exc); } StopAcceptingClientMessages(); try { OutboundQueue.Stop(); } catch (Exception exc) { log.Error(ErrorCode.Runtime_Error_100110, "Stop failed.", exc); } try { SocketManager.Stop(); } catch (Exception exc) { log.Error(ErrorCode.Runtime_Error_100111, "Stop failed.", exc); } }
public void Stop() { IsBlockingApplicationMessages = true; StopAcceptingClientMessages(); try { WaitToRerouteAllQueuedMessages(); OutboundQueue.Stop(); } catch (Exception exc) { log.Error(ErrorCode.Runtime_Error_100110, "Stop failed.", exc); } }