Exemplo n.º 1
0
 static void Main(string[] args)
 {
     RabbitMqService commonService = new RabbitMqService();
     IConnection connection = commonService.GetRabbitMqConnection();
     IModel model = connection.CreateModel();
     //ReceiveBufferedMessages(model);
     ReceiveChunkedMessages(model);
 }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     RabbitMqService rabbitMqService = new RabbitMqService();
     IConnection connection = rabbitMqService.GetRabbitMqConnection();
     IModel model = connection.CreateModel();
     //model.QueueDeclare(RabbitMqService.LargeMessageBufferedQueue, true, false, false, null);
     //RunBufferedMessageExample(model);
     //model.QueueDeclare(RabbitMqService.ChunkedMessageBufferedQueue, true, false, false, null);
     RunChunkedMessageExample(model);
 }