|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use OnExceptionDefinition | |
---|---|
org.apache.camel.builder | The Camel Domain Specific Language for creating Routes, Predicates, Expressions and Error Handlers. |
org.apache.camel.model | The JAXB POJOs for the XML Configuration of the routing rules. |
org.apache.camel.processor | A collection of Processor implementations which are used to implement the Enterprise Integration Patterns |
org.apache.camel.processor.exceptionpolicy | Exception policy startegies for Dead Letter Channel pattern. |
Uses of OnExceptionDefinition in org.apache.camel.builder |
---|
Methods in org.apache.camel.builder that return OnExceptionDefinition | |
---|---|
OnExceptionDefinition |
RouteBuilder.onException(Class<? extends Throwable>... exceptions)
Exception clause for catching certain exceptions and handling them. |
OnExceptionDefinition |
RouteBuilder.onException(Class<? extends Throwable> exception)
Exception clause for catching certain exceptions and handling them. |
Methods in org.apache.camel.builder that return types with arguments of type OnExceptionDefinition | |
---|---|
List<OnExceptionDefinition> |
ErrorHandlerBuilderSupport.getErrorHandlers(RouteContext routeContext)
|
List<OnExceptionDefinition> |
ErrorHandlerBuilder.getErrorHandlers(RouteContext routeContext)
Gets the error handlers |
Methods in org.apache.camel.builder with parameters of type OnExceptionDefinition | |
---|---|
void |
ErrorHandlerBuilderSupport.addErrorHandlers(RouteContext routeContext,
OnExceptionDefinition exception)
|
void |
ErrorHandlerBuilder.addErrorHandlers(RouteContext routeContext,
OnExceptionDefinition exception)
Adds error handler for the given exception type |
void |
ErrorHandlerBuilderRef.addErrorHandlers(RouteContext routeContext,
OnExceptionDefinition exception)
|
Method parameters in org.apache.camel.builder with type arguments of type OnExceptionDefinition | |
---|---|
void |
ErrorHandlerBuilderSupport.setErrorHandlers(RouteContext routeContext,
List<OnExceptionDefinition> exceptions)
|
void |
ErrorHandlerBuilder.setErrorHandlers(RouteContext routeContext,
List<OnExceptionDefinition> exceptions)
Adds the error handlers for the given list of exception types |
Uses of OnExceptionDefinition in org.apache.camel.model |
---|
Methods in org.apache.camel.model that return OnExceptionDefinition | |
---|---|
OnExceptionDefinition |
OnExceptionDefinition.asyncDelayedRedelivery()
Allow synchronous 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(Expression continued)
Sets whether the exchange should be marked as handled or not. |
OnExceptionDefinition |
OnExceptionDefinition.continued(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(Expression handled)
Sets whether the exchange should be marked as handled or not. |
OnExceptionDefinition |
OnExceptionDefinition.handled(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.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.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 |
ProcessorDefinition.onException(Class<? extends Throwable>... exceptions)
Exception clause for catching certain exceptions and handling them. |
OnExceptionDefinition |
RoutesDefinition.onException(Class<? extends Throwable> exception)
Adds an on exception |
OnExceptionDefinition |
OnExceptionDefinition.onException(Class<? extends Throwable> exceptionType)
|
OnExceptionDefinition |
ProcessorDefinition.onException(Class<? extends Throwable> exceptionType)
Exception clause for catching certain exceptions and handling them. |
OnExceptionDefinition |
OnExceptionDefinition.onRedelivery(Processor processor)
Sets a processor that should be processed before a redelivery attempt. |
OnExceptionDefinition |
OnExceptionDefinition.onWhen(Predicate predicate)
Sets an additional predicate that should be true before the onException is triggered. |
OnExceptionDefinition |
OnExceptionDefinition.redeliverDelay(long delay)
Deprecated. will be removed in the near future. Instead use redeliveryDelay(String) |
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 RedeliveryPolicy to lookup in the Registry to be used. |
OnExceptionDefinition |
OnExceptionDefinition.retriesExhaustedLogLevel(LoggingLevel retriesExhaustedLogLevel)
Sets the logging level to use when retries has exhausted |
OnExceptionDefinition |
OnExceptionDefinition.retryAttemptedLogLevel(LoggingLevel retryAttemptedLogLevel)
Sets the logging level to use for logging retry attempts |
OnExceptionDefinition |
OnExceptionDefinition.retryWhile(Predicate retryWhile)
Sets the retry while predicate. |
OnExceptionDefinition |
OnExceptionDefinition.useCollisionAvoidance()
Turn on collision avoidance. |
OnExceptionDefinition |
OnExceptionDefinition.useExponentialBackOff()
Turn on exponential backk off |
OnExceptionDefinition |
OnExceptionDefinition.useOriginalBody()
Deprecated. this method will be removed in Camel 3.0, please use useOriginalMessage() |
OnExceptionDefinition |
OnExceptionDefinition.useOriginalMessage()
Will use the original input message when an Exchange is moved to the dead letter queue. |
Methods in org.apache.camel.model that return types with arguments of type OnExceptionDefinition | |
---|---|
List<OnExceptionDefinition> |
RoutesDefinition.getOnExceptions()
|
Method parameters in org.apache.camel.model with type arguments of type OnExceptionDefinition | |
---|---|
static void |
RouteDefinitionHelper.prepareRoute(ModelCamelContext context,
RouteDefinition route,
List<OnExceptionDefinition> onExceptions,
List<InterceptDefinition> intercepts,
List<InterceptFromDefinition> interceptFromDefinitions,
List<InterceptSendToEndpointDefinition> interceptSendToEndpointDefinitions,
List<OnCompletionDefinition> onCompletions)
Prepares the route which supports context scoped features such as onException, interceptors and onCompletions This method does not mark the route as prepared afterwards. |
void |
RoutesDefinition.setOnExceptions(List<OnExceptionDefinition> onExceptions)
|
Uses of OnExceptionDefinition in org.apache.camel.processor |
---|
Fields in org.apache.camel.processor with type parameters of type OnExceptionDefinition | |
---|---|
protected Map<ExceptionPolicyKey,OnExceptionDefinition> |
ErrorHandlerSupport.exceptionPolicies
|
Methods in org.apache.camel.processor that return OnExceptionDefinition | |
---|---|
protected OnExceptionDefinition |
ErrorHandlerSupport.getExceptionPolicy(Exchange exchange,
Throwable exception)
Attempts to find the best suited OnExceptionDefinition to be used for handling the given thrown exception. |
Methods in org.apache.camel.processor with parameters of type OnExceptionDefinition | |
---|---|
void |
ErrorHandlerSupport.addExceptionPolicy(RouteContext routeContext,
OnExceptionDefinition exceptionType)
|
Uses of OnExceptionDefinition in org.apache.camel.processor.exceptionpolicy |
---|
Methods in org.apache.camel.processor.exceptionpolicy that return OnExceptionDefinition | |
---|---|
OnExceptionDefinition |
DefaultExceptionPolicyStrategy.getExceptionPolicy(Map<ExceptionPolicyKey,OnExceptionDefinition> exceptionPolicies,
Exchange exchange,
Throwable exception)
|
OnExceptionDefinition |
ExceptionPolicyStrategy.getExceptionPolicy(Map<ExceptionPolicyKey,OnExceptionDefinition> exceptionPolicies,
Exchange exchange,
Throwable exception)
Resolves the OnExceptionDefinition that should handle the thrown exception. |
Methods in org.apache.camel.processor.exceptionpolicy with parameters of type OnExceptionDefinition | |
---|---|
protected boolean |
DefaultExceptionPolicyStrategy.filter(OnExceptionDefinition type,
Class<?> exceptionClass,
Throwable exception)
Strategy to filter the given type exception class with the thrown exception |
protected boolean |
DefaultExceptionPolicyStrategy.matchesWhen(OnExceptionDefinition definition,
Exchange exchange)
Strategy method for matching the exception type with the current exchange. |
Method parameters in org.apache.camel.processor.exceptionpolicy with type arguments of type OnExceptionDefinition | |
---|---|
OnExceptionDefinition |
DefaultExceptionPolicyStrategy.getExceptionPolicy(Map<ExceptionPolicyKey,OnExceptionDefinition> exceptionPolicies,
Exchange exchange,
Throwable exception)
|
OnExceptionDefinition |
ExceptionPolicyStrategy.getExceptionPolicy(Map<ExceptionPolicyKey,OnExceptionDefinition> exceptionPolicies,
Exchange exchange,
Throwable exception)
Resolves the OnExceptionDefinition that should handle the thrown exception. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |