Package org.apache.camel.reifier
Class CatchReifier
- java.lang.Object
-
- org.apache.camel.reifier.AbstractReifier
-
- org.apache.camel.reifier.ProcessorReifier<org.apache.camel.model.CatchDefinition>
-
- org.apache.camel.reifier.CatchReifier
-
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
public class CatchReifier extends ProcessorReifier<org.apache.camel.model.CatchDefinition>
-
-
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 CatchReifier(org.apache.camel.Route route, org.apache.camel.model.ProcessorDefinition<?> definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Class<? extends Throwable>>
createExceptionClasses()
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
addRoutes, 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
-
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.CatchDefinition>
- Throws:
Exception
-
createExceptionClasses
protected List<Class<? extends Throwable>> createExceptionClasses() throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
-