Class DelegateReifier<T extends DelegateDefinition>
java.lang.Object
org.apache.camel.reifier.AbstractReifier
org.apache.camel.reifier.ProcessorReifier<T>
org.openehealth.ipf.platform.camel.core.reifier.DelegateReifier<T>
- All Implemented Interfaces:
BeanRepository
- Direct Known Subclasses:
AuditReifier,ProcessorAdapterReifier
public abstract class DelegateReifier<T extends DelegateDefinition>
extends org.apache.camel.reifier.ProcessorReifier<T>
An
ProcessorReifier that combines the Processor created by
doCreateDelegate() and the child processor created by
ProcessorReifier.createChildProcessor(boolean) into a Pipeline.
This base class supports the implementation of parameterizable DSL extensions
without forcing implementors to create DelegateProcessor instances.
Instead, plain Processor instances can be returned by
doCreateDelegate() implementations.- Author:
- Martin Krasser
-
Field Summary
Fields inherited from class org.apache.camel.reifier.ProcessorReifier
definition, DISABLE_ALL_PROCESSORS, DISABLE_BEAN_OR_PROCESS_PROCESSORSFields inherited from class org.apache.camel.reifier.AbstractReifier
camelContext, route -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.reifier.ProcessorReifier
addRoutes, clearReifiers, configureChild, coreReifier, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, createOutputsProcessor, createProcessor, getConfiguredAggregationStrategy, getConfiguredExecutorService, getConfiguredScheduledExecutorService, getId, hasOutputs, lookupExecutorServiceRef, lookupScheduledExecutorServiceRef, makeProcessor, preCreateProcessor, registerReifier, reifier, willCreateNewThreadPool, wrapChannel, wrapChannel, wrapInErrorHandler, wrapProcessorMethods 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, mandatoryFindSingleByType
-
Constructor Details
-
DelegateReifier
-
-
Method Details
-
createProcessor
- Specified by:
createProcessorin classorg.apache.camel.reifier.ProcessorReifier<T extends DelegateDefinition>- Throws:
Exception
-
doCreateDelegate
Creates aProcessorfor this DSL element.- Returns:
- a
Processorinstance.
-