static void Main(string[] args) { _bus.StartAsync(new CancellationToken()); var bus = Bus.Factory.CreateUsingRabbitMq(cfg => { var host = cfg.Host(new Uri("rabbitmq://localhost"), h => { h.Username("guest"); h.Password("guest"); }); cfg.ReceiveEndpoint(ep => ep.Consumer(() => new AnswerReviewedConsumer())); }); bus.Start(); var text = string.Empty; while (text != "quit") { Console.ForegroundColor = ConsoleColor.DarkYellow; Console.WriteLine("AWAITING RabbitMessages! Type quit to exit."); text = Console.ReadLine(); } }