Пример #1
0
        /// <summary>
        /// Handles the message.
        /// </summary>
        /// <param name="message"></param>
        public void Handle(ReadyMessage message)
        {
            logger.Debug("Server available: " + Bus.CurrentMessageContext.ReturnAddress);

            if (message.ClearPreviousFromThisAddress) //indicates worker started up
            {
                WorkerManager.ClearAvailabilityForWorker(Bus.CurrentMessageContext.ReturnAddress);
            }

            WorkerManager.WorkerAvailable(Bus.CurrentMessageContext.ReturnAddress);
        }