Package org.apache.camel.reifier
Class DelayReifier
- java.lang.Object
-
- org.apache.camel.reifier.AbstractReifier
-
- org.apache.camel.reifier.ProcessorReifier<T>
-
- org.apache.camel.reifier.DelayReifier
-
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
public class DelayReifier extends ProcessorReifier<T>
-
-
Field Summary
-
Fields inherited from class org.apache.camel.reifier.ProcessorReifier
definition
-
Fields inherited from class org.apache.camel.reifier.AbstractReifier
camelContext, route
-
-
Constructor Summary
Constructors Constructor Description DelayReifier(org.apache.camel.Route route, org.apache.camel.model.ProcessorDefinition<?> definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.camel.processor.FilterProcessor
createFilterProcessor()
Creates theFilterProcessor
from the expression node.protected org.apache.camel.Predicate
createPredicate()
Creates thePredicate
from the expression node.org.apache.camel.Processor
createProcessor()
Override this in definition class and implement logic to create the processor based on the definition model.-
Methods inherited from class org.apache.camel.reifier.ProcessorReifier
addRoutes, clearReifiers, configureChild, coreReifier, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, createProcessor, getConfiguredExecutorService, getConfiguredScheduledExecutorService, getId, hasOutputs, lookupExecutorServiceRef, lookupScheduledExecutorServiceRef, makeProcessor, preCreateProcessor, registerReifier, reifier, willCreateNewThreadPool, wrapChannel, wrapChannel, wrapInErrorHandler, wrapProcessor
-
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
-
createProcessor
public org.apache.camel.Processor createProcessor() throws Exception
Description copied from class:ProcessorReifier
Override this in definition class and implement logic to create the processor based on the definition model.- Specified by:
createProcessor
in classProcessorReifier<org.apache.camel.model.DelayDefinition>
- Throws:
Exception
-
createFilterProcessor
protected org.apache.camel.processor.FilterProcessor createFilterProcessor() throws Exception
Creates theFilterProcessor
from the expression node.- Returns:
- the created
FilterProcessor
- Throws:
Exception
- is thrown if error creating the processor
-
createPredicate
protected org.apache.camel.Predicate createPredicate()
Creates thePredicate
from the expression node.- Returns:
- the created predicate
-
-