Ejemplo n.º 1
0
 private void Handle(SystemMessage.ServiceInitialized message)
 {
     _serviceInitsToExpect -= 1;
     _outputBus.Publish(message);
     if (_serviceInitsToExpect == 0)
     {
         _mainQueue.Publish(new SystemMessage.SystemStart());
     }
 }
Ejemplo n.º 2
0
 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());
     }
 }