Пример #1
0
        static void Main(string[] args)
        {
            Console.Title = "Registration Service";

            using (var rabbitMqManager = new RabbitMqManager())
            {
                rabbitMqManager.ListenForRegisterUserCommand();
                Console.WriteLine("Listening for RegisterUserCommand.");
                Console.ReadKey();
            }
        }
Пример #2
0
 public RegisteredUserCommandConsumer(RabbitMqManager rabbitMqManager)
 {
     this._rabbitMqManager = rabbitMqManager;
 }