Class LegacyDeadLetterChannelReifier
java.lang.Object
org.apache.camel.reifier.AbstractReifier
org.apache.camel.reifier.errorhandler.ErrorHandlerReifier<T>
org.apache.camel.reifier.errorhandler.LegacyDefaultErrorHandlerReifier<org.apache.camel.model.errorhandler.DeadLetterChannelProperties>
org.apache.camel.reifier.errorhandler.LegacyDeadLetterChannelReifier
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
@Deprecated
public class LegacyDeadLetterChannelReifier
extends LegacyDefaultErrorHandlerReifier<org.apache.camel.model.errorhandler.DeadLetterChannelProperties>
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
definitionFields inherited from class org.apache.camel.reifier.AbstractReifier
camelContext, route -
Constructor Summary
ConstructorsConstructorDescriptionLegacyDeadLetterChannelReifier(org.apache.camel.Route route, org.apache.camel.ErrorHandlerFactory definition) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.ProcessorcreateErrorHandler(org.apache.camel.Processor processor) Deprecated.Creates the error handlerMethods inherited from class org.apache.camel.reifier.errorhandler.LegacyDefaultErrorHandlerReifier
getExecutorServiceMethods inherited from class org.apache.camel.reifier.errorhandler.ErrorHandlerReifier
addExceptionPolicy, configure, createExceptionClasses, createExceptionPolicy, createRedeliveryPolicy, createRedeliveryPolicy, getBean, getPredicate, getProcessor, registerReifier, reifierMethods 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
-
LegacyDeadLetterChannelReifier
public LegacyDeadLetterChannelReifier(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:ErrorHandlerReifierCreates the error handler- Overrides:
createErrorHandlerin classLegacyDefaultErrorHandlerReifier<org.apache.camel.model.errorhandler.DeadLetterChannelProperties>- Parameters:
processor- the outer processor- Returns:
- the error handler
- Throws:
Exception- is thrown if the error handler could not be created
-