Esempio n. 1
0
        public bool Start()
        {
            var input = Input();

            while (input.ToLower() != "n")
            {
                _rabbitMqProxy.Pull <MessageModel>(msg =>
                {
                    Console.WriteLine(msg.ToJson());
                });
                input = Input();
            }
            return(true);
        }