private void TryHandleEvent(T @event) { var dlqName = GetQueueName(@event); if (!CheckEntityBlock(@event, dlqName)) { try { eventHandler.Handle(@event); } catch { CreateQueueAndPutTask(@event, dlqName); } } stateStorage.SaveState(@event.Id); }