public void Stop() { try { Client.Dispose(); Client = new RedisQueueClient(); _log.Info("Stopped subscriber thread."); _log.DebugFormat("Thread Identifier: {0}", _thread.Name); } catch (Exception exception) { _log.Error("Failed to stop subscriber thread.", exception); } }
public QueueMonitor() { _client = new RedisQueueClient(); }
public QueueSubscriber() { Queue = new QueueName(Settings.Default.Queue); Client = new RedisQueueClient(); }
public QueueMonitor(RedisQueueClient client) { _client = client; }