Пример #1
0
        static void Main(string[] args)
        {
            using (var messageReader = new MessageReader()) {
                var routingKey = "hello";

                if (args.Length > 0) {
                    routingKey = args[0];
                }

                messageReader.ConsumeMessages(routingKey);
            }
        }