Class LegacyErrorHandlerRefReifier
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.LegacyErrorHandlerRefReifier
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
@Deprecated
public class LegacyErrorHandlerRefReifier
extends ErrorHandlerReifier<org.apache.camel.model.errorhandler.ErrorHandlerRefProperties>
Deprecated.
Legacy error handler for XML DSL in camel-spring-xml/camel-blueprint
-
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
ConstructorsConstructorDescriptionLegacyErrorHandlerRefReifier
(org.apache.camel.Route route, org.apache.camel.ErrorHandlerFactory definition) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.Processor
createErrorHandler
(org.apache.camel.Processor processor) Deprecated.Creates the error handlerMethods inherited from class org.apache.camel.reifier.errorhandler.ErrorHandlerReifier
addExceptionPolicy, configure, createExceptionClasses, createExceptionPolicy, createRedeliveryPolicy, createRedeliveryPolicy, getBean, getPredicate, getProcessor, registerReifier, reifier
Methods 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, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.spi.BeanRepository
findSingleByType, mandatoryFindSingleByType
-
Constructor Details
-
LegacyErrorHandlerRefReifier
public LegacyErrorHandlerRefReifier(org.apache.camel.Route route, org.apache.camel.ErrorHandlerFactory definition) Deprecated.
-
-
Method Details
-
createErrorHandler
public org.apache.camel.Processor createErrorHandler(org.apache.camel.Processor processor) throws Exception Deprecated.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
-