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.concurrentRequestsMode()ThrottleDefinition.copyDefinition()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.maximumRequests(long maximumConcurrentRequests) Sets the maximum number of requestsThrottleDefinition.maximumRequests(String maximumConcurrentRequests) Sets the maximum number of requestsThrottleDefinition.maximumRequestsPerPeriod(long maximumRequestsPerPeriod) Deprecated.ThrottleDefinition.maximumRequestsPerPeriod(String maximumRequestsPerPeriod) Deprecated.Sets the throttling mode to one of the available modes enumerated in ThrottlingModeThrottleDefinition.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.ThrottleDefinition.timePeriodMillis(long timePeriodMillis) Sets the time period during which the maximum request count is valid forThrottleDefinition.timePeriodMillis(String timePeriodMillis) Sets the time period during which the maximum request count is valid forThrottleDefinition.totalRequestsMode()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.Constructors in org.apache.camel.model with parameters of type ThrottleDefinition
maximumRequests(long)