# Throttle Mediator

The Throttle mediator can be used for rate limiting as well as concurrency based limiting. A WS-Policy dictates the throttling configuration and may be specified inline or loaded from the registry. The Throttle mediator could be added in the request path for rate limiting and concurrent access limitation. When using for concurrent access limitation, the same throttle mediator 'id' must be triggered on the response flow so that completed responses are deducted from the available limit. (i.e. two instances of the throttle mediator with the same 'id' attribute in the request and response flows). The 'onReject' and 'onAccept' sequence references or inline sequences define how accepted and rejected messages are to be handled

- Throttle Group ID: The id for the throttle group. Note you would have two throttle mediator configuration in request and response paths with the same group id.
- Referring Policy: The policy for the throttling. You can specify it inline or refer from the regsitry
- On Acceptance Referring Sequence: The sequence to act on accpetance
- On Rejection Referring Sequence: The sequence to act on rejection