Exemplo n.º 1
0
 public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration)
 {
     _applicationMessagePublisher.Shutdown();
     _domainEventPublisher.Shutdown();
     _exceptionPublisher.Shutdown();
     _commandConsumer.Shutdown();
     _eventConsumer.Shutdown();
     _exceptionConsumer.Shutdown();
     return(enodeConfiguration);
 }
Exemplo n.º 2
0
 public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration)
 {
     _commandService.Shutdown();
     _applicationMessagePublisher.Shutdown();
     _domainEventPublisher.Shutdown();
     _exceptionPublisher.Shutdown();
     _commandConsumer.Shutdown();
     _applicationMessageConsumer.Shutdown();
     _eventConsumer.Shutdown();
     _exceptionConsumer.Shutdown();
     _broker.Shutdown();
     _nameServerController.Shutdown();
     return(enodeConfiguration);
 }
Exemplo n.º 3
0
        public static ENodeConfiguration ShutdownKafka(this ENodeConfiguration enodeConfiguration)
        {
            _commandService.Shutdown();
            _eventPublisher.Shutdown();
            _applicationMessagePublisher.Shutdown();
            _domainExceptionPublisher.Shutdown();

            _commandConsumer.Shutdown();
            _eventConsumer.Shutdown();
            _applicationMessageConsumer.Shutdown();
            _domainExceptionConsumer.Shutdown();

            return(enodeConfiguration);
        }