public void ScheduleWork(string workItemKey, string workerType, byte[] workerData, List <KeyValuePair <string, string> > extraParams)
        {
            List <ParameterInfo> extrParams = extraParams.Select(c => new ParameterInfo()
            {
                Name = c.Key, Value = c.Value
            }).ToList();

            if (workerData != null)
            {
                WorkItemStore.Store(new WorkItemData()
                {
                    Key  = workItemKey + "-" + workerType,
                    Data = workerData
                });
            }
            else
            {
                extrParams.Add(new ParameterInfo()
                {
                    Name = "NoData", Value = "true"
                });
            }

#if DEBUG
            //for (int i = 0; i < 10; i++)
            //{
#endif
            Queue.SendWorkItem(new BatchProcessor.Model.WorkItemInfo()
            {
                WorkerType  = workerType,
                Key         = workItemKey,
                ExtraParams = extrParams
            });
#if DEBUG
            //}
#endif
        }