title: MassTransit capping message rates at 10
body: <p>I have a mass transit consumer service set up to work with RabbitMQ and I can't figure out how to increase the speed of the consumer - it seems to hard cap at 10 messages received per second.  </p>
  
  <p>I have tried the steps listed here: <a href="https://groups.google.com/forum/#!msg/masstransit-discuss/plP4n2sixrY/xfORgTPqcwsJ" rel="nofollow">https://groups.google.com/forum/#!msg/masstransit-discuss/plP4n2sixrY/xfORgTPqcwsJ</a>, with no success - setting the prefetch and the concurrent consumers to 25 does nothing other than increasing the acknowledged messages, but it doesn't increase the rate at which the messages are downloaded.</p>
  
  <p>My config is as follows:</p>
  
  <pre><code>ServiceBusFactory.ConfigureDefaultSettings(x =&gt;
      {
          x.SetConcurrentReceiverLimit(25);
          x.SetConcurrentConsumerLimit(25);
      });
  
  _bus = ServiceBusFactory.New(
      sbc =&gt;
          {
              sbc.UseRabbitMq(x =&gt; 
                  x.ConfigureHost(
                      "rabbitmq://localhost/Dev/consume?prefetch=25",
                      y =&gt;
                          {
                              y.SetUsername(config.Username);
                              y.SetPassword(config.Password);
                          }));
              sbc.UseLog4Net();
              sbc.ReceiveFrom("rabbitmq://localhost/Dev/consume?prefetch=25");
              sbc.Subscribe(x =&gt; RegisterConsumers(x, container));
              sbc.UseJsonSerializer();
              sbc.SetConcurrentConsumerLimit(25);
          });
  </code></pre>
  
  <p>I'm setting the concurrent consumer limit in two places as I'm not sure whether I need to set it on the default or in the bus configuration, and the consumers are registered via unity - I have omitted the consumer subscription as all subscribers are receiving.</p>
  
  <p>I'm a little confused as to whether there's anything else I need to set or if I need to change the order in which I'm setting the configs.</p>
  
  <p>Any help greatly appreciated.</p>