How to Reduce Throughput of an Endpoint?

There are two ways to decrease receiving throughput of an endpoint.

Edit the TransportConfig section in the endpoint config file:

<TransportConfig MaximumConcurrencyLevel="5" MaxRetries="2" MaximumMessageThroughputPerSecond="10"/>

In V4 you can also use the API:​

public class ChangeThroughtput : IWantToRunWhenConfigurationIsComplete
{
    public UnicastBus Bus { get; set; }

    public void Run()
    {
            Bus.Transport.ChangeMaximumThroughputPerSecond(10);
    }
}


Last modified 2014-03-08 10:06:25Z in 6e4c400 - (Blame all changes)