Package org.apache.camel.reifier
Class ResequenceReifier
java.lang.Object
org.apache.camel.reifier.AbstractReifier
org.apache.camel.reifier.ProcessorReifier<org.apache.camel.model.ResequenceDefinition>
org.apache.camel.reifier.ResequenceReifier
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
public class ResequenceReifier
extends ProcessorReifier<org.apache.camel.model.ResequenceDefinition>
-
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
ConstructorDescriptionResequenceReifier
(org.apache.camel.Route route, org.apache.camel.model.ProcessorDefinition<?> definition) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.camel.processor.Resequencer
createBatchResequencer
(org.apache.camel.model.config.BatchResequencerConfig config) Creates a batchResequencer
instance applying the givenconfig
.org.apache.camel.Processor
Override this in definition class and implement logic to create the processor based on the definition model.protected org.apache.camel.processor.StreamResequencer
createStreamResequencer
(org.apache.camel.model.config.StreamResequencerConfig config) Creates aStreamResequencer
instance applying the givenconfig
.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
-
ResequenceReifier
public ResequenceReifier(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.ResequenceDefinition>
- Throws:
Exception
-
createBatchResequencer
protected org.apache.camel.processor.Resequencer createBatchResequencer(org.apache.camel.model.config.BatchResequencerConfig config) throws Exception Creates a batchResequencer
instance applying the givenconfig
.- Parameters:
config
- batch resequencer configuration.- Returns:
- the configured batch resequencer.
- Throws:
Exception
- can be thrown
-
createStreamResequencer
protected org.apache.camel.processor.StreamResequencer createStreamResequencer(org.apache.camel.model.config.StreamResequencerConfig config) throws Exception Creates aStreamResequencer
instance applying the givenconfig
.- Parameters:
config
- stream resequencer configuration.- Returns:
- the configured stream resequencer.
- Throws:
Exception
- can be thrwon
-