Exemplo n.º 1
0
 protected internal virtual IModel CreateInboundModel(RabbitMQ.Client.IConnection connection,
                                                      UInt32 prefetchSize,
                                                      UInt16 prefetchCount)
 {
     var model = connection.CreateModel();
     model.BasicQos(prefetchSize, prefetchCount, false);
     return model;
 }