Package org.apache.camel.reifier
Class OnExceptionReifier
- java.lang.Object
-
- org.apache.camel.reifier.AbstractReifier
-
- org.apache.camel.reifier.ProcessorReifier<org.apache.camel.model.OnExceptionDefinition>
-
- org.apache.camel.reifier.OnExceptionReifier
-
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
public class OnExceptionReifier extends ProcessorReifier<org.apache.camel.model.OnExceptionDefinition>
-
-
Field Summary
-
Fields inherited from class org.apache.camel.reifier.ProcessorReifier
definition
-
Fields inherited from class org.apache.camel.reifier.AbstractReifier
camelContext, route
-
-
Constructor Summary
Constructors Constructor Description OnExceptionReifier(org.apache.camel.Route route, org.apache.camel.model.ProcessorDefinition<?> definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRoutes()
protected List<Class<? extends Throwable>>
createExceptionClasses(org.apache.camel.spi.ClassResolver resolver)
org.apache.camel.processor.CatchProcessor
createProcessor()
Override this in definition class and implement logic to create the processor based on the definition model.-
Methods inherited from class org.apache.camel.reifier.ProcessorReifier
clearReifiers, configureChild, coreReifier, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, createProcessor, getConfiguredExecutorService, getConfiguredScheduledExecutorService, getId, hasOutputs, lookupExecutorServiceRef, lookupScheduledExecutorServiceRef, makeProcessor, preCreateProcessor, registerReifier, reifier, willCreateNewThreadPool, wrapChannel, wrapChannel, wrapInErrorHandler, wrapProcessor
-
Methods inherited from class org.apache.camel.reifier.AbstractReifier
asRef, createExpression, createExpression, createPredicate, createPredicate, findByType, findByTypeWithName, findSingleByType, getRegistry, lookup, lookupByName, lookupByNameAndType, mandatoryLookup, or, parse, parse, parseBoolean, parseBoolean, parseDuration, parseDuration, parseFloat, parseFloat, parseInt, parseInt, parseLong, parseLong, parseString, resolveEndpoint, unwrap
-
-
-
-
Method Detail
-
addRoutes
public void addRoutes() throws Exception
- Overrides:
addRoutes
in classProcessorReifier<org.apache.camel.model.OnExceptionDefinition>
- Throws:
Exception
-
createProcessor
public org.apache.camel.processor.CatchProcessor createProcessor() throws Exception
Description copied from class:ProcessorReifier
Override this in definition class and implement logic to create the processor based on the definition model.- Specified by:
createProcessor
in classProcessorReifier<org.apache.camel.model.OnExceptionDefinition>
- Throws:
Exception
-
createExceptionClasses
protected List<Class<? extends Throwable>> createExceptionClasses(org.apache.camel.spi.ClassResolver resolver) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
-