protected override IList <QueueProcessor> GetProcessors()
 {
     WorkItemProcessor.CreateProcessor(WorkItemServiceSettings.Default.StatThreadCount, WorkItemServiceSettings.Default.NormalThreadCount, GetDisplayName());
     return(new List <QueueProcessor> {
         WorkItemProcessor.Instance
     });
 }
        /// <summary>
        /// Initialize the singleton <see cref="WorkItemProcessor"/>.
        /// </summary>
        /// <param name="numberStatThreads"></param>
        /// <param name="numberNormalThreads"></param>
        /// <param name="name"></param>
        public static void CreateProcessor(int numberStatThreads, int numberNormalThreads, string name)
        {
            if (Instance != null)
            {
                throw new ApplicationException("Processor already created!");
            }

            Instance = new WorkItemProcessor(numberStatThreads, numberNormalThreads, name);
        }