예제 #1
0
        static void Main(string[] args)
        {
            using (var recMessage = new ReceiveMessage(RabbitMqConst.PackageExchange, RabbitMqConst.PackageQueue, ExchangeType.Direct, RabbitMqConst.RouteKey))
            {
                var message = recMessage.ConsumeMessage();
                Console.WriteLine();
            };


            Console.WriteLine(" Press [Enter] key to exit.");
            Console.ReadLine();
        }