private void Handle(SystemMessage.ServiceInitialized message) { _serviceInitsToExpect -= 1; _outputBus.Publish(message); if (_serviceInitsToExpect == 0) { _mainQueue.Publish(new SystemMessage.SystemStart()); } }
private void Handle(SystemMessage.ServiceInitialized message) { Log.Info("========== [{0}] Service '{1}' initialized.", _nodeInfo.InternalHttp, message.ServiceName); _serviceInitsToExpect -= 1; _outputBus.Publish(message); if (_serviceInitsToExpect == 0) { _mainQueue.Publish(new SystemMessage.SystemStart()); } }