public IEventProcessor CreateEventProcessor(PartitionContext context) { var processor = new ActionProcessor( _actionLogic, _actionMappingLogic, _configurationProvider); processor.ProcessorClosed += this.ProcessorOnProcessorClosed; _eventProcessors.TryAdd(context.Lease.PartitionId, processor); return processor; }
public IEventProcessor CreateEventProcessor(PartitionContext context) { var processor = new ActionProcessor( _actionLogic, _actionMappingLogic, _configurationProvider); processor.ProcessorClosed += this.ProcessorOnProcessorClosed; _eventProcessors.TryAdd(context.Lease.PartitionId, processor); return(processor); }