protected override IList<QueueProcessor> GetProcessors() { var settings = new LogicalHL7EventShredSettings(); var p = new LogicalHL7EventProcessor( settings.BatchSize, TimeSpan.FromSeconds(settings.EmptyQueueSleepTime), TimeSpan.FromSeconds(settings.FailedItemRetryDelay)); return new QueueProcessor[] { p }; }
protected override IList <QueueProcessor> GetProcessors() { var settings = new LogicalHL7EventShredSettings(); var p = new LogicalHL7EventProcessor( settings.BatchSize, TimeSpan.FromSeconds(settings.EmptyQueueSleepTime), TimeSpan.FromSeconds(settings.FailedItemRetryDelay)); return(new QueueProcessor[] { p }); }