Constructor ThrottleProcessor(IProcessor, Func<IExchange, int>, TimeSpan?, bool, ILogger?)
Creates a throttle processor whose limit is computed per exchange. The factory runs on
every message, so the limit can come from a header, a property or an expression and change
between messages, as the Apache Camel throttler does with a dynamic expression.
public ThrottleProcessor(IProcessor next, Func<IExchange, int> maxPerPeriod, TimeSpan? period = null, bool rejectOnOverflow = false, ILogger? logger = null)