示例#1
0
 public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration)
 {
     _commandService.Shutdown();
     _broker.Shutdown();
     _nameServerController.Shutdown();
     return(enodeConfiguration);
 }
示例#2
0
 public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration)
 {
     _eventPublisher.Shutdown();
     _broker.Shutdown();
     _nameServerController.Shutdown();
     return enodeConfiguration;
 }
示例#3
0
 public static void Stop()
 {
     if (_nameServer != null)
     {
         _nameServer.Shutdown();
     }
 }
示例#4
0
 public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration)
 {
     _commandService.Shutdown();
     _eventPublisher.Shutdown();
     _commandConsumer.Shutdown();
     _eventConsumer.Shutdown();
     _broker.Shutdown();
     _nameServer.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);
 }
示例#6
0
 public static void Stop()
 {
     try
     {
         if (_nameServer != null)
         {
             _nameServer.Shutdown();
         }
     }
     catch (Exception ex)
     {
         _logger.Error("NameServer stop failed.", ex);
         throw;
     }
 }