, that shows a possible extension method on consumer configuration to set a prefetch count but I'm not seeing it. I'm defining by receive endpoints as follows:
cfg.ReceiveEndpoint(MessagingConstants.XactNetUploadQueue,
endPntCfg =>
{
endPntCfg.UseConcurrencyLimit(2);
endPntCfg.Consumer<IConsumer<IUploadAssignment>>(context);
});
I'm using Autofac, btw. Other than the user concurrency limit, I'm not seeing an available path to set the prefetch. The host prefetch count doesn't seem to do much other than set the prefetch on a single consumer as shown below:
2016-08-11 10:41:15.2897 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/complete_callbacks?prefetch=8 - amq.ctag-QHETW_dGAuV5zC14YAXRMA
2016-08-11 10:41:15.2897 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/reports?prefetch=8 - amq.ctag-MPi722ESOBp0Io6qHIctDQ
2016-08-11 10:41:15.2897 | DEBUG | Queue: bus-CROBISON-WINX1-xactprmservices-dnaoyybjkoyy346rbdjhrb1xdd (auto-delete)
2016-08-11 10:41:15.2897 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/delete_instance?prefetch=8 - amq.ctag-Bp0F6bXp_vgQsqeKz8bGSQ
2016-08-11 10:41:15.2897 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/aspen_grove?prefetch=8 - amq.ctag-hO6R0BACu1VPqFLmCLIDIQ
2016-08-11 10:41:15.2897 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/xactnet_latch?prefetch=8 - amq.ctag-RxhO086lSEI4yrle1zrg0A
2016-08-11 10:41:15.2897 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/shopping_cart?prefetch=8 - amq.ctag-yCBSOvV1JvtVNf3k6rpeyQ
2016-08-11 10:41:15.2897 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/xactnet_inbox?prefetch=8 - amq.ctag-qgfcznTbm_3VL4KmHPrjYw
2016-08-11 10:41:15.2897 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/xactnet_registration?prefetch=8 - amq.ctag-l86lJPD43KKAFwVbtCLdBg
2016-08-11 10:41:15.2897 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/form_validation?prefetch=8 - amq.ctag-PozJ75cp6PYVzDQpVcNRBg
2016-08-11 10:41:15.2897 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/xactnet_upload?prefetch=8 - amq.ctag-0jOImTzMhy-ecHi0zBbd4A
2016-08-11 10:41:15.3073 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/bus-CROBISON-WINX1-xactprmservices-dnaoyybjkoyy346rbdjhrb1xdd?durable=false&autodelete=true&prefetch=32 - amq.ctag-NLOZtfzm9DxSuYHKul53jA
2016-08-11 10:41:15.3247 | DEBUG | ConsumerOk: rabbitmq://rmqcluster:5672/dev/push_notifications?prefetch=8 - amq.ctag-1u48UXmvbkENJ6ruWKGpQg