Payload Size Throttles
Overview of Payload size throttles.
Using TIBCO API Exchange Gateway, you can create throttles based on the size of a payload in the message. For payload size throttles, the throttle count for a throttle is incremented as per the size of the payload in the message.
For the rate and quota throttle types, define the throttles based on the payload size as follows:
- Payload size in the request message
- Payload size in the response message
- Payload size in both request and response message
For the payload size throttles, define a throttle counter to specify the message type for which the payload size is calculated. For example, if the throttle counter is defined as Input Payload Size, the throttle count is incremented by the payload size of the request message. The throttle count is incremented by the payload size of the response message if the throttle counter is defined as Output Payload Size.
- The throttle Max Count for a payload size throttle should be specified in bytes.
- The payload size value in a message is used as an increment counter for the throttle count. The throttle counter field determines if the payload size is calculated for the request message, response message, or both request and response message.
- The payload size throttles are not supported for the Error and High Water Mark (HWM) throttle types.
- Payload Size Throttle Types
- Configuring Payload Size Throttles
The payload size throttles are configured using the Config UI. You can configure the throttles for the payload size of request, response, or both request and response messages.