Throttling component
The throttler components allows you to ensure that a specific endpoint does not get overloaded. It allows you to throttle messages and only let a maximum amount through per time period to the next component.
Configuration
The Throttling component has the following configuration options:
Time period
Description
The time period during which the Max requests count is valid for, in milliseconds.
Max requests
Description
Amount of messages sent for each time period.
Example
The throttle component in the image above has the following configuration:
Property | Value |
---|---|
Time Period | 10000 |
Max Requests | 5 |
In this example all messages coming from the Inbound HTTP component will be throttled and every 10 seconds a maximum of 5 messages will be let through to go to the HTTP component.