Exemplo n.º 1
0
 private void RegisterCommands(IQueueConsumer qConsumer)
 {
     if (!_commandCatalog.GetConsumeRoute().IsApplicable)
     {
         return;
     }
     _deps.Logger.LogDebug($"Register command queue: {_commandCatalog.GetConsumeRoute().Queue}");
     qConsumer.RegisterCommandConsumer(_commandCatalog.GetConsumeRoute().Queue, _commandCatalog.GetExecuter());
 }