예제 #1
0
        static void Main(string[] args)
        {
            var rabbitMqServer = RabbitMQManager.GetRabbitMQServer(Config.RabbitMQServerComment);
            var consumer       = new ConsumerAsComment(rabbitMqServer);

            consumer.StartConsume();
        }
예제 #2
0
        public void ConsumerAsCommentTest()
        {
            var rabbitMqServer = RabbitMQManager.GetRabbitMQServer(Config.RabbitMQServerComment);
            var consumer       = new ConsumerAsComment(rabbitMqServer, Config.QueueWaitDownloadHtml);

            consumer.StartConsume();
        }