public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration)
 {
     _applicationMessagePublisher.Shutdown();
     _domainEventPublisher.Shutdown();
     _commandConsumer.Shutdown();
     _eventConsumer.Shutdown();
     return(enodeConfiguration);
 }
 public static ENodeConfiguration ShutdownRabbitMQ(this ENodeConfiguration enodeConfiguration)
 {
     _commandService.Shutdown();
     _applicationMessagePublisher.Shutdown();
     _domainEventPublisher.Shutdown();
     _exceptionPublisher.Shutdown();
     _commandConsumer.Shutdown();
     _applicationMessageConsumer.Shutdown();
     _eventConsumer.Shutdown();
     _exceptionConsumer.Shutdown();
     return(enodeConfiguration);
 }
Exemple #3
0
 public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration)
 {
     _commandService.Shutdown();
     _eventPublisher.Shutdown();
     _applicationMessagePublisher.Shutdown();
     _publishableExceptionPublisher.Shutdown();
     _commandConsumer.Shutdown();
     _eventConsumer.Shutdown();
     _applicationMessageConsumer.Shutdown();
     _publishableExceptionConsumer.Shutdown();
     _broker.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);
 }