Package | Description |
---|---|
org.apache.camel.model |
The JAXB POJOs for the
XML Configuration
of the routing rules.
|
Modifier and Type | Method and Description |
---|---|
ThrottleDefinition |
ThrottleDefinition.asyncDelayed()
Enables asynchronous delay which means the thread will no block while delaying.
|
ThrottleDefinition |
ThrottleDefinition.callerRunsWhenRejected(boolean callerRunsWhenRejected)
Whether or not the caller should run the task when it was rejected by the thread pool.
|
ThrottleDefinition |
ThrottleDefinition.executorService(ExecutorService executorService)
Sets the ExecutorService which could be used by throttle definition
|
ThrottleDefinition |
ThrottleDefinition.executorServiceRef(String executorServiceRef)
Sets the ExecutorService which could be used by throttle definition
|
ThrottleDefinition |
ThrottleDefinition.maximumRequestsPerPeriod(Long maximumRequestsPerPeriod)
Sets the time period during which the maximum request count per period
|
ThrottleDefinition |
ThrottleDefinition.rejectExecution(boolean rejectExecution)
Whether or not throttler throws the ThrottlerRejectedExecutionException when the exchange exceeds the request limit
Is by default false
|
ThrottleDefinition |
ProcessorDefinition.throttle(Expression maximumRequestCount)
Throttler EIP:
Creates a throttler allowing you to ensure that a specific endpoint does not get overloaded,
or that we don't exceed an agreed SLA with some external service.
|
ThrottleDefinition |
ProcessorDefinition.throttle(long maximumRequestCount)
Throttler EIP:
Creates a throttler allowing you to ensure that a specific endpoint does not get overloaded,
or that we don't exceed an agreed SLA with some external service.
|
ThrottleDefinition |
ThrottleDefinition.timePeriodMillis(long timePeriodMillis)
Sets the time period during which the maximum request count is valid for
|
Apache Camel