Uses of Class
org.apache.camel.model.ThrottleDefinition
Packages that use ThrottleDefinition
-
Uses of ThrottleDefinition in org.apache.camel.model
Methods in org.apache.camel.model that return ThrottleDefinitionModifier and TypeMethodDescriptionThrottleDefinition.asyncDelayed()Enables asynchronous delay which means the thread will not block while delaying.ThrottleDefinition.asyncDelayed(boolean asyncDelayed) Enables asynchronous delay which means the thread will not block while delaying.ThrottleDefinition.asyncDelayed(String asyncDelayed) Enables asynchronous delay which means the thread will not block while delaying.ThrottleDefinition.callerRunsWhenRejected(boolean callerRunsWhenRejected) Whether or not the caller should run the task when it was rejected by the thread pool.ThrottleDefinition.callerRunsWhenRejected(String callerRunsWhenRejected) Whether or not the caller should run the task when it was rejected by the thread pool.ThrottleDefinition.correlationExpression(long correlationExpression) To use a correlation expression that can throttle by the given key instead of overall throttlingThrottleDefinition.correlationExpression(org.apache.camel.Expression correlationExpression) To use a correlation expression that can throttle by the given key instead of overall throttlingThrottleDefinition.executorService(String executorService) To use a custom thread pool (ScheduledExecutorService) by the throttler.ThrottleDefinition.executorService(ExecutorService executorService) To use a custom thread pool (ScheduledExecutorService) by the throttler.ThrottleDefinition.maximumConcurrentRequests(long maximumConcurrentRequests) Sets the maximum number of concurrent requestsThrottleDefinition.maximumConcurrentRequests(String maximumConcurrentRequests) Sets the number of concurrent requestsThrottleDefinition.rejectExecution(boolean rejectExecution) Whether or not throttler throws the ThrottlerRejectedExecutionException when the exchange exceeds the request limitThrottleDefinition.rejectExecution(String rejectExecution) Whether or not throttler throws the ThrottlerRejectedExecutionException when the exchange exceeds the request limitProcessorDefinition.throttle(long maximumConcurrentRequests) 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.ProcessorDefinition.throttle(org.apache.camel.Expression maximumConcurrentRequests) 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.ProcessorDefinition.throttle(org.apache.camel.Expression maximumConcurrentRequests, long correlationExpressionKey) 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.ProcessorDefinition.throttle(org.apache.camel.Expression maximumConcurrentRequests, org.apache.camel.Expression correlationExpressionKey) 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.Methods in org.apache.camel.model that return types with arguments of type ThrottleDefinitionModifier and TypeMethodDescriptionProcessorDefinition.throttle()Throttler EIP: Creates a throttler using a fluent builder.