OnExceptionDefinition |
OnExceptionDefinition.asyncDelayedRedelivery() |
Allow asynchronous delayed redelivery.
|
OnExceptionDefinition |
OnExceptionDefinition.backOffMultiplier(double backOffMultiplier) |
Sets the back off multiplier
|
OnExceptionDefinition |
OnExceptionDefinition.backOffMultiplier(String backOffMultiplier) |
Sets the back off multiplier (supports property placeholders)
|
OnExceptionDefinition |
OnExceptionDefinition.collisionAvoidanceFactor(double collisionAvoidanceFactor) |
Sets the collision avoidance factor
|
OnExceptionDefinition |
OnExceptionDefinition.collisionAvoidanceFactor(String collisionAvoidanceFactor) |
Sets the collision avoidance factor (supports property placeholders)
|
OnExceptionDefinition |
OnExceptionDefinition.collisionAvoidancePercent(double collisionAvoidancePercent) |
Sets the collision avoidance percentage
|
OnExceptionDefinition |
OnExceptionDefinition.continued(boolean continued) |
Sets whether the exchange should handle and continue routing from the point of failure.
|
OnExceptionDefinition |
OnExceptionDefinition.continued(org.apache.camel.Expression continued) |
Sets whether the exchange should be marked as handled or not.
|
OnExceptionDefinition |
OnExceptionDefinition.continued(org.apache.camel.Predicate continued) |
Sets whether the exchange should be marked as handled or not.
|
OnExceptionDefinition |
OnExceptionDefinition.delayPattern(String delayPattern) |
Sets the delay pattern with delay intervals.
|
OnExceptionDefinition |
OnExceptionDefinition.handled(boolean handled) |
Sets whether the exchange should be marked as handled or not.
|
OnExceptionDefinition |
OnExceptionDefinition.handled(org.apache.camel.Expression handled) |
Sets whether the exchange should be marked as handled or not.
|
OnExceptionDefinition |
OnExceptionDefinition.handled(org.apache.camel.Predicate handled) |
Sets whether the exchange should be marked as handled or not.
|
OnExceptionDefinition |
OnExceptionDefinition.logContinued(boolean logContinued) |
Sets whether to log errors even if its continued
|
OnExceptionDefinition |
OnExceptionDefinition.logContinued(String logContinued) |
Sets whether to log errors even if its continued (supports property placeholders)
|
OnExceptionDefinition |
OnExceptionDefinition.logExhausted(boolean logExhausted) |
Sets whether to log exhausted exceptions
|
OnExceptionDefinition |
OnExceptionDefinition.logExhausted(String logExhausted) |
Sets whether to log exhausted exceptions (supports property placeholders)
|
OnExceptionDefinition |
OnExceptionDefinition.logExhaustedMessageBody(boolean logExhaustedMessageBody) |
Sets whether to log exhausted message body with message history.
|
OnExceptionDefinition |
OnExceptionDefinition.logExhaustedMessageBody(String logExhaustedMessageBody) |
Sets whether to log exhausted message body with message history.
|
OnExceptionDefinition |
OnExceptionDefinition.logExhaustedMessageHistory(boolean logExhaustedMessageHistory) |
Sets whether to log exhausted exceptions with message history
|
OnExceptionDefinition |
OnExceptionDefinition.logExhaustedMessageHistory(String logExhaustedMessageHistory) |
Sets whether to log exhausted exceptions with message history
|
OnExceptionDefinition |
OnExceptionDefinition.logHandled(boolean logHandled) |
Sets whether to log errors even if its handled
|
OnExceptionDefinition |
OnExceptionDefinition.logHandled(String logHandled) |
Sets whether to log errors even if its handled (supports property placeholders)
|
OnExceptionDefinition |
OnExceptionDefinition.logNewException(boolean logNewException) |
Sets whether new exceptions should be logged or not (supports property placeholders).
|
OnExceptionDefinition |
OnExceptionDefinition.logNewException(String logNewException) |
Sets whether new exceptions should be logged or not (supports property placeholders).
|
OnExceptionDefinition |
OnExceptionDefinition.logRetryAttempted(boolean logRetryAttempted) |
Sets whether to log retry attempts
|
OnExceptionDefinition |
OnExceptionDefinition.logRetryAttempted(String logRetryAttempted) |
Sets whether to log retry attempts (supports property placeholders)
|
OnExceptionDefinition |
OnExceptionDefinition.logRetryStackTrace(boolean logRetryStackTrace) |
Sets whether to log stacktrace for failed redelivery attempts
|
OnExceptionDefinition |
OnExceptionDefinition.logRetryStackTrace(String logRetryStackTrace) |
Sets whether to log stacktrace for failed redelivery attempts (supports property placeholders)
|
OnExceptionDefinition |
OnExceptionDefinition.logStackTrace(boolean logStackTrace) |
Sets whether to log stacktrace for failed messages.
|
OnExceptionDefinition |
OnExceptionDefinition.logStackTrace(String logStackTrace) |
Sets whether to log stacktrace for failed messages (supports property placeholders)
|
OnExceptionDefinition |
OnExceptionDefinition.maximumRedeliveries(int maximumRedeliveries) |
Sets the maximum redeliveries
5 = default value
0 = no redeliveries
-1 = redeliver forever
|
OnExceptionDefinition |
OnExceptionDefinition.maximumRedeliveries(String maximumRedeliveries) |
Sets the maximum redeliveries (supports property placeholders)
5 = default value
0 = no redeliveries
-1 = redeliver forever
|
OnExceptionDefinition |
OnExceptionDefinition.maximumRedeliveryDelay(long maximumRedeliveryDelay) |
Sets the maximum delay between redelivery
|
OnExceptionDefinition |
OnExceptionDefinition.maximumRedeliveryDelay(String maximumRedeliveryDelay) |
Sets the maximum delay between redelivery (supports property placeholders)
|
OnExceptionDefinition |
OnExceptionDefinition.onException(Class<? extends Throwable> exceptionType) |
|
OnExceptionDefinition |
ProcessorDefinition.onException(Class<? extends Throwable> exceptionType) |
|
OnExceptionDefinition |
ProcessorDefinition.onException(Class<? extends Throwable>... exceptions) |
|
OnExceptionDefinition |
RouteConfigurationDefinition.onException(Class<? extends Throwable> exceptionType) |
|
OnExceptionDefinition |
RouteConfigurationDefinition.onException(Class<? extends Throwable>... exceptions) |
|
OnExceptionDefinition |
RoutesDefinition.onException(Class<? extends Throwable> exception) |
Adds an on exception
|
OnExceptionDefinition |
OnExceptionDefinition.onExceptionOccurred(org.apache.camel.Processor processor) |
Sets a processor that should be processed just after an exception occurred.
|
OnExceptionDefinition |
OnExceptionDefinition.onExceptionOccurredRef(String ref) |
Sets a reference to a processor that should be processed just after an exception occurred.
|
OnExceptionDefinition |
OnExceptionDefinition.onRedelivery(org.apache.camel.Processor processor) |
Sets a processor that should be processed before a redelivery attempt.
|
OnExceptionDefinition |
OnExceptionDefinition.onRedeliveryRef(String ref) |
Sets a reference to a processor that should be processed before a redelivery attempt.
|
OnExceptionDefinition |
OnExceptionDefinition.onWhen(org.apache.camel.Predicate predicate) |
Sets an additional predicate that should be true before the onException is triggered.
|
OnExceptionDefinition |
OnExceptionDefinition.redeliveryDelay(long delay) |
Sets the initial redelivery delay
|
OnExceptionDefinition |
OnExceptionDefinition.redeliveryDelay(String delay) |
Sets the initial redelivery delay (supports property placeholders)
|
OnExceptionDefinition |
OnExceptionDefinition.redeliveryPolicyRef(String redeliveryPolicyRef) |
Sets a reference to a redelivery policy to lookup in the Registry to be used.
|
OnExceptionDefinition |
OnExceptionDefinition.retriesExhaustedLogLevel(org.apache.camel.LoggingLevel retriesExhaustedLogLevel) |
Sets the logging level to use when retries have been exhausted
|
OnExceptionDefinition |
OnExceptionDefinition.retryAttemptedLogLevel(org.apache.camel.LoggingLevel retryAttemptedLogLevel) |
Sets the logging level to use for logging retry attempts
|
OnExceptionDefinition |
OnExceptionDefinition.retryWhile(org.apache.camel.Predicate retryWhile) |
Sets the retry while predicate.
|
OnExceptionDefinition |
OnExceptionDefinition.useCollisionAvoidance() |
Turn on collision avoidance.
|
OnExceptionDefinition |
OnExceptionDefinition.useExponentialBackOff() |
Turn on exponential back off
|
OnExceptionDefinition |
OnExceptionDefinition.useOriginalBody() |
Will use the original input Message body (original body only) when an
Exchange is moved to the dead letter queue.
|
OnExceptionDefinition |
OnExceptionDefinition.useOriginalMessage() |
Will use the original input Message (original body and headers) when an
Exchange is moved to the dead letter queue.
|