public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration) { _commandService.Shutdown(); _broker.Shutdown(); _nameServerController.Shutdown(); return(enodeConfiguration); }
public static void Stop() { if (_broker != null) { _broker.Shutdown(); } }
public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration) { _eventPublisher.Shutdown(); _broker.Shutdown(); _nameServerController.Shutdown(); return enodeConfiguration; }
public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration) { _commandService.Shutdown(); _commandConsumer.Shutdown(); _broker.Shutdown(); return(enodeConfiguration); }
public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration) { _commandResultProcessor.Shutdown(); _commandService.Shutdown(); _eventPublisher.Shutdown(); _commandConsumer.Shutdown(); _eventConsumer.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(); return(enodeConfiguration); }
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(); _nameServerController.Shutdown(); return(enodeConfiguration); }
public static void Stop() { try { if (_broker != null) { _broker.Shutdown(); } } catch (Exception ex) { _logger.Error("Broker 停止失败.", ex); throw; } }
public bool Stop(HostControl hostControl) { try { if (_broker != null) { _broker.Shutdown(); } return(true); } catch (Exception ex) { _logger.Error("Broker stop failed.", ex); return(false); } }
public static ENodeConfiguration ShutdownEQueue(this ENodeConfiguration enodeConfiguration) { _eventPublisher.Shutdown(); _broker.Shutdown(); return(enodeConfiguration); }