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
definitionFields inherited from class org.apache.camel.reifier.AbstractReifier
camelContext, route -
Constructor Summary
ConstructorsConstructorDescriptionOnExceptionReifier(org.apache.camel.Route route, org.apache.camel.model.ProcessorDefinition<?> definition) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateExceptionClasses(org.apache.camel.spi.ClassResolver resolver) org.apache.camel.processor.CatchProcessorOverride 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, getConfiguredAggregationStrategy, getConfiguredExecutorService, getConfiguredScheduledExecutorService, getId, hasOutputs, lookupExecutorServiceRef, lookupScheduledExecutorServiceRef, makeProcessor, preCreateProcessor, registerReifier, reifier, willCreateNewThreadPool, wrapChannel, wrapChannel, wrapInErrorHandler, wrapProcessorMethods 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
-
OnExceptionReifier
public OnExceptionReifier(org.apache.camel.Route route, org.apache.camel.model.ProcessorDefinition<?> definition)
-
-
Method Details
-
addRoutes
- Overrides:
addRoutesin classProcessorReifier<org.apache.camel.model.OnExceptionDefinition>- Throws:
Exception
-
createProcessor
Description copied from class:ProcessorReifierOverride this in definition class and implement logic to create the processor based on the definition model.- Specified by:
createProcessorin 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
-