Esempio n. 1
0
 public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration)
 {
     _applicationMessagePublisher.Shutdown();
     _domainEventPublisher.Shutdown();
     _exceptionPublisher.Shutdown();
     _commandConsumer.Shutdown();
     _eventConsumer.Shutdown();
     _exceptionConsumer.Shutdown();
     return(enodeConfiguration);
 }
 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);
 }
Esempio 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);
        }