Class LegacyDefaultErrorHandlerReifier<T extends org.apache.camel.model.errorhandler.DefaultErrorHandlerProperties>
java.lang.Object
org.apache.camel.reifier.AbstractReifier
org.apache.camel.reifier.errorhandler.ErrorHandlerReifier<T>
org.apache.camel.reifier.errorhandler.LegacyDefaultErrorHandlerReifier<T>
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
- Direct Known Subclasses:
LegacyDeadLetterChannelReifier
@Deprecated
public class LegacyDefaultErrorHandlerReifier<T extends org.apache.camel.model.errorhandler.DefaultErrorHandlerProperties>
extends ErrorHandlerReifier<T>
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
ConstructorDescriptionLegacyDefaultErrorHandlerReifier
(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 handlerprotected ScheduledExecutorService
getExecutorService
(ScheduledExecutorService executorService, String executorServiceRef) Deprecated.Methods 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
-
LegacyDefaultErrorHandlerReifier
public LegacyDefaultErrorHandlerReifier(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<T extends org.apache.camel.model.errorhandler.DefaultErrorHandlerProperties>
- Parameters:
processor
- the outer processor- Returns:
- the error handler
- Throws:
Exception
- is thrown if the error handler could not be created
-
getExecutorService
protected ScheduledExecutorService getExecutorService(ScheduledExecutorService executorService, String executorServiceRef) Deprecated.
-