Class DefaultErrorHandlerReifier
java.lang.Object
org.apache.camel.reifier.AbstractReifier
org.apache.camel.reifier.errorhandler.ErrorHandlerReifier<org.apache.camel.model.errorhandler.DefaultErrorHandlerDefinition>
org.apache.camel.reifier.errorhandler.DefaultErrorHandlerReifier
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
public class DefaultErrorHandlerReifier
extends ErrorHandlerReifier<org.apache.camel.model.errorhandler.DefaultErrorHandlerDefinition>
-
Field Summary
Fields inherited from class org.apache.camel.reifier.errorhandler.ErrorHandlerReifier
definitionFields inherited from class org.apache.camel.reifier.AbstractReifier
camelContext, route -
Constructor Summary
ConstructorsConstructorDescriptionDefaultErrorHandlerReifier(org.apache.camel.Route route, org.apache.camel.model.errorhandler.DefaultErrorHandlerDefinition definition) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.ProcessorcreateErrorHandler(org.apache.camel.Processor processor) Creates the error handlerprotected ScheduledExecutorServicegetExecutorService(ScheduledExecutorService executorService, String executorServiceRef) Methods inherited from class org.apache.camel.reifier.errorhandler.ErrorHandlerReifier
addExceptionPolicy, configure, createExceptionClasses, createExceptionPolicy, createRedeliveryPolicy, createRedeliveryPolicy, getBean, getPredicate, getProcessor, registerReifier, reifierMethods inherited from class org.apache.camel.reifier.AbstractReifier
asRef, createExpression, createExpression, createPredicate, createPredicate, findByType, findByTypeWithName, getCamelContext, getRegistry, lookupByName, lookupByNameAndType, mandatoryLookup, or, parse, parse, parseBoolean, parseBoolean, parseDuration, parseDuration, parseFloat, parseFloat, parseInt, parseInt, parseLong, parseLong, parseString, resolveEndpoint, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.spi.BeanRepository
findSingleByType
-
Constructor Details
-
DefaultErrorHandlerReifier
public DefaultErrorHandlerReifier(org.apache.camel.Route route, org.apache.camel.model.errorhandler.DefaultErrorHandlerDefinition definition)
-
-
Method Details
-
createErrorHandler
public org.apache.camel.Processor createErrorHandler(org.apache.camel.Processor processor) throws Exception Description copied from class:ErrorHandlerReifierCreates the error handler- Specified by:
createErrorHandlerin classErrorHandlerReifier<org.apache.camel.model.errorhandler.DefaultErrorHandlerDefinition>- Parameters:
processor- the outer processor- Returns:
- the error handler
- Throws:
Exception- is thrown if the error handler could not be created
-
getExecutorService
protected ScheduledExecutorService getExecutorService(ScheduledExecutorService executorService, String executorServiceRef)
-