Class ErrorHandlerRefReifier
- java.lang.Object
-
- org.apache.camel.reifier.AbstractReifier
-
- org.apache.camel.reifier.errorhandler.ErrorHandlerReifier<org.apache.camel.model.errorhandler.ErrorHandlerRefProperties>
-
- org.apache.camel.reifier.errorhandler.ErrorHandlerRefReifier
-
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
public class ErrorHandlerRefReifier extends ErrorHandlerReifier<org.apache.camel.model.errorhandler.ErrorHandlerRefProperties>
-
-
Field Summary
-
Fields inherited from class org.apache.camel.reifier.errorhandler.ErrorHandlerReifier
definition
-
Fields inherited from class org.apache.camel.reifier.AbstractReifier
camelContext, route
-
-
Constructor Summary
Constructors Constructor Description ErrorHandlerRefReifier(org.apache.camel.Route route, org.apache.camel.ErrorHandlerFactory definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.Processor
createErrorHandler(org.apache.camel.Processor processor)
Creates the error handler-
Methods inherited from class org.apache.camel.reifier.errorhandler.ErrorHandlerReifier
addExceptionPolicy, configure, createExceptionClasses, createExceptionPolicy, createRedeliveryPolicy, getBean, getPredicate, registerReifier, reifier
-
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
-
createErrorHandler
public org.apache.camel.Processor createErrorHandler(org.apache.camel.Processor processor) throws Exception
Description copied from class:ErrorHandlerReifier
Creates the error handler- Specified by:
createErrorHandler
in classErrorHandlerReifier<org.apache.camel.model.errorhandler.ErrorHandlerRefProperties>
- Parameters:
processor
- the outer processor- Returns:
- the error handler
- Throws:
Exception
- is thrown if the error handler could not be created
-
-