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 };
		}
Example #2
0
        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 });
        }