Package org.apache.camel.reifier
Class FilterReifier
java.lang.Object
org.apache.camel.reifier.AbstractReifier
org.apache.camel.reifier.ProcessorReifier<org.apache.camel.model.FilterDefinition>
org.apache.camel.reifier.FilterReifier
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
-
Field Summary
Fields inherited from class org.apache.camel.reifier.ProcessorReifier
definition, DISABLE_ALL_PROCESSORS
Fields inherited from class org.apache.camel.reifier.AbstractReifier
camelContext, route
-
Constructor Summary
ConstructorDescriptionFilterReifier
(org.apache.camel.Route route, org.apache.camel.model.ProcessorDefinition<?> definition) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.camel.processor.FilterProcessor
Creates theFilterProcessor
from the expression node.protected org.apache.camel.Predicate
Creates thePredicate
from the expression node.org.apache.camel.processor.FilterProcessor
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, getConfiguredAggregationStrategy, 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, 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
-
FilterReifier
public FilterReifier(org.apache.camel.Route route, org.apache.camel.model.ProcessorDefinition<?> definition)
-
-
Method Details
-
createProcessor
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.FilterDefinition>
- Throws:
Exception
-
createFilterProcessor
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
-