...
Throttling parameters is allowed to configured via JMX, for example with jconsole tool:
URI format
Code Block |
---|
throttling:requestType[:operationName] |
Options
Parameter | Default | Description |
---|---|---|
requestType | Specifies request type, e.g. SYNC (=synchronnous request) or ASYNC (=asynchronnous request) Throttling component for asynchronnous request is used in route AsynchInMessageRoute for processing all input asynch. requests. | |
operationName | operation name, e.g. "createCustomer" (mandatory for SYNC request type only) |
Prerequisites
Throttling component needs reference to org.openhubframework.openhub.spi.throttling.ThrottlingProcessor that needs (in default implementation) reference to org.openhubframework.openhub.spi.throttling.ThrottlingConfiguration and org.openhubframework.openhub.spi.throttling.ThrottleCounter.
...