Uses of Class
org.apache.camel.model.OnExceptionDefinition

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... exceptions)
          Exception clause for catching certain exceptions and handling them.
 OnExceptionDefinition RouteBuilder.onException(Class 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()
           
 List<OnExceptionDefinition> ErrorHandlerBuilder.getErrorHandlers()
          Gets the error handlers
 

Methods in org.apache.camel.builder with parameters of type OnExceptionDefinition
 void ErrorHandlerBuilderSupport.addErrorHandlers(OnExceptionDefinition exception)
           
 void ErrorHandlerBuilderRef.addErrorHandlers(OnExceptionDefinition exception)
           
 void ErrorHandlerBuilder.addErrorHandlers(OnExceptionDefinition exception)
          Adds error handler for the given exception type
 

Method parameters in org.apache.camel.builder with type arguments of type OnExceptionDefinition
 void ErrorHandlerBuilderSupport.setErrorHandlers(List<OnExceptionDefinition> exceptions)
           
 void ErrorHandlerBuilder.setErrorHandlers(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.collisionAvoidanceFactor(double collisionAvoidanceFactor)
          Sets the collision avoidance factor
 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.logExhausted(boolean logExhausted)
          Sets whether to log exhausted exceptions
 OnExceptionDefinition OnExceptionDefinition.logHandled(boolean logHandled)
          Sets whether to log errors even if its handled
 OnExceptionDefinition OnExceptionDefinition.logRetryAttempted(boolean logRetryAttempted)
          Sets whether to log retry attempts
 OnExceptionDefinition OnExceptionDefinition.logRetryStackTrace(boolean logRetryStackTrace)
          Sets whether to log stacktrace for failed redelivery attempts
 OnExceptionDefinition OnExceptionDefinition.logStackTrace(boolean logStackTrace)
          Sets whether to log stacktrace for failed messages.
 OnExceptionDefinition OnExceptionDefinition.maximumRedeliveries(int maximumRedeliveries)
          Sets the maximum redeliveries 5 = default value 0 = no redeliveries -1 = redeliver forever
 OnExceptionDefinition OnExceptionDefinition.maximumRedeliveryDelay(long maximumRedeliveryDelay)
          Sets the maximum delay between redelivery
 OnExceptionDefinition ProcessorDefinition.onException(Class... exceptions)
          Exception clause for catching certain exceptions and handling them.
 OnExceptionDefinition RoutesDefinition.onException(Class exception)
          Adds an on exception
 OnExceptionDefinition ProcessorDefinition.onException(Class exceptionType)
          Exception clause for catching certain exceptions and handling them.
 OnExceptionDefinition OnExceptionDefinition.onException(Class exceptionType)
           
 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.  
 OnExceptionDefinition OnExceptionDefinition.redeliveryDelay(long delay)
          Sets the initial redelivery delay
 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(Expression retryWhile)
          Sets the retry while expression.
 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()
           
 ExpressionClause<OnExceptionDefinition> OnExceptionDefinition.onWhen()
          Creates an expression to configure an additional predicate that should be true before the onException is triggered.
 

Method parameters in org.apache.camel.model with type arguments of type OnExceptionDefinition
 void RoutesDefinition.setOnExceptions(List<OnExceptionDefinition> onExceptions)
           
 

Uses of OnExceptionDefinition in org.apache.camel.processor
 

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(OnExceptionDefinition exceptionType)
           
 

Uses of OnExceptionDefinition in org.apache.camel.processor.exceptionpolicy
 

Methods in org.apache.camel.processor.exceptionpolicy that return OnExceptionDefinition
 OnExceptionDefinition ExceptionPolicyStrategy.getExceptionPolicy(Map<ExceptionPolicyKey,OnExceptionDefinition> exceptionPolicies, Exchange exchange, Throwable exception)
          Resolves the OnExceptionDefinition that should handle the thrown exception.
 OnExceptionDefinition DefaultExceptionPolicyStrategy.getExceptionPolicy(Map<ExceptionPolicyKey,OnExceptionDefinition> exceptionPolicies, Exchange exchange, Throwable 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 ExceptionPolicyStrategy.getExceptionPolicy(Map<ExceptionPolicyKey,OnExceptionDefinition> exceptionPolicies, Exchange exchange, Throwable exception)
          Resolves the OnExceptionDefinition that should handle the thrown exception.
 OnExceptionDefinition DefaultExceptionPolicyStrategy.getExceptionPolicy(Map<ExceptionPolicyKey,OnExceptionDefinition> exceptionPolicies, Exchange exchange, Throwable exception)
           
 



Apache CAMEL