Exemplo n.º 1
0
        static void Main(string[] args)
        {
            AmqpMessagingService messagingService = new AmqpMessagingService
            {
                MessageQueueName = MEP.PublishSubscribe.ToString()
            };

            IConnection connection = messagingService.GetRabbitMqConnection();
            IModel      model      = connection.CreateModel();

            messagingService.ReceiveQueueMessagesTwo(model);
        }