Пример #1
0
        public static void StartService()
        {
            foreach (string project_id in SystemInternalSetting.Projects.Keys)
            {
                MessageQueueDaemon daemon = new MessageQueueDaemon(project_id);
                daemons.Add(daemon);
            }

            foreach (MessageQueueDaemon daemon in daemons)
            {
                daemon.Initialize();
                daemon.Start();
            }
        }
Пример #2
0
        public static void StartService()
        {
            foreach (string project_id in SystemInternalSetting.Projects.Keys)
            {
                MessageQueueDaemon daemon = new MessageQueueDaemon(project_id);
                daemons.Add(daemon);
            }

            foreach (MessageQueueDaemon daemon in daemons)
            {
                daemon.Initialize();
                daemon.Start();
            }
        }