Class DeadLetterChannelReifier
java.lang.Object
org.apache.camel.reifier.AbstractReifier
org.apache.camel.reifier.errorhandler.ErrorHandlerReifier<org.apache.camel.model.errorhandler.DeadLetterChannelDefinition>
org.apache.camel.reifier.errorhandler.DeadLetterChannelReifier
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
public class DeadLetterChannelReifier
extends ErrorHandlerReifier<org.apache.camel.model.errorhandler.DeadLetterChannelDefinition>
-
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
ConstructorDescriptionDeadLetterChannelReifier
(org.apache.camel.Route route, org.apache.camel.model.errorhandler.DeadLetterChannelDefinition definition) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.Processor
createErrorHandler
(org.apache.camel.Processor processor) Creates the error handlerprotected ScheduledExecutorService
getExecutorService
(ScheduledExecutorService executorService, String executorServiceRef) 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
-
DeadLetterChannelReifier
public DeadLetterChannelReifier(org.apache.camel.Route route, org.apache.camel.model.errorhandler.DeadLetterChannelDefinition definition)
-
-
Method Details
-
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.DeadLetterChannelDefinition>
- 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)
-