public bool PausePersistQueue(int seconds) { if (EnablePersistQueue) { if (_Logger != null) { _Logger.Info("TopicSbscriberListener PausePersistQueue: " + SbscriberHost); } return(ActionWorker.Pause(seconds)); } return(false); }
public void Pause(int seconds) { if (ActionWorker == null) { return; } ActionWorker.Pause(seconds); if (_Logger != null) { _Logger.Info("SessionListener Stoped"); } }