Exemple #1
0
        static void Main(string[] args)
        {
            AmqpMessagingService messagingService = new AmqpMessagingService();
            IConnection          connection       = messagingService.GetRabbitMqConnection();
            IModel model = connection.CreateModel();

            messagingService.ReceiveOneWayMessages(model);
        }
Exemple #2
0
        public static void ReceiveOneWayMessageQueue()
        {
            AmqpMessagingService messagingService = new AmqpMessagingService();
            IConnection          connection       = messagingService.GetRabbitMqConnection();
            IModel model = connection.CreateModel();

            messagingService.ReceiveOneWayMessages(model);
        }