示例#1
0
文件: Broker.cs 项目: naighes/Carrot
 protected internal virtual IModel CreateInboundModel(RabbitMQ.Client.IConnection connection,
                                                      UInt32 prefetchSize,
                                                      UInt16 prefetchCount)
 {
     var model = connection.CreateModel();
     model.BasicQos(prefetchSize, prefetchCount, false);
     return model;
 }