public ConsumerEventHandler( ILogger <SystemService> logger, XNodeEventService xNodeEventService, ConsumerIOService consumerIOService, MessageIOService messageIOService) { _logger = logger; _xNodeEventService = xNodeEventService; _consumerIOService = consumerIOService; _messageIOService = messageIOService; _unacknowledgedMessageProcesses = new ConcurrentDictionary <string, Task>(); InitializeEvents(); }