Package org.apache.camel.reifier
Class DynamicRouterReifier
- java.lang.Object
-
- org.apache.camel.reifier.AbstractReifier
-
- org.apache.camel.reifier.ProcessorReifier<T>
-
- org.apache.camel.reifier.DynamicRouterReifier
-
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
public class DynamicRouterReifier extends ProcessorReifier<T>
-
-
Field Summary
-
Fields inherited from class org.apache.camel.reifier.ProcessorReifier
definition, log
-
Fields inherited from class org.apache.camel.reifier.AbstractReifier
camelContext, route
-
-
Constructor Summary
Constructors Constructor Description DynamicRouterReifier(org.apache.camel.Route route, ProcessorDefinition<?> definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.camel.processor.FilterProcessorcreateFilterProcessor()Creates theFilterProcessorfrom the expression node.protected org.apache.camel.PredicatecreatePredicate()Creates thePredicatefrom the expression node.org.apache.camel.ProcessorcreateProcessor()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, 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
-
-
-
-
Constructor Detail
-
DynamicRouterReifier
public DynamicRouterReifier(org.apache.camel.Route route, ProcessorDefinition<?> definition)
-
-
Method Detail
-
createProcessor
public org.apache.camel.Processor createProcessor() throws Exception
Description copied from class:ProcessorReifierOverride this in definition class and implement logic to create the processor based on the definition model.- Specified by:
createProcessorin classProcessorReifier<DynamicRouterDefinition<?>>- Throws:
Exception
-
createFilterProcessor
protected org.apache.camel.processor.FilterProcessor createFilterProcessor() throws ExceptionCreates theFilterProcessorfrom the expression node.- Returns:
- the created
FilterProcessor - Throws:
Exception- is thrown if error creating the processor
-
createPredicate
protected org.apache.camel.Predicate createPredicate()
Creates thePredicatefrom the expression node.- Returns:
- the created predicate
-
-