private void StartConsumer(IConsumerMethodQueue queue)
        {
            if (_queueStarted)
            {
                return;
            }

            lock (_queueStartLocker)
            {
                if (!_queueStarted)
                {
                    queue.Start();
                    _queueStarted = true;
                }
            }
        }
예제 #2
0
 private void RunBadQueue()
 {
     //start looking for work
     _queue.Start();
 }