public class IdempotentConsumerReifier extends ProcessorReifier<T>
definition, log
Constructor and Description |
---|
IdempotentConsumerReifier(ProcessorDefinition<?> definition) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.processor.FilterProcessor |
createFilterProcessor(org.apache.camel.spi.RouteContext routeContext)
Creates the
FilterProcessor from the expression node. |
protected org.apache.camel.Predicate |
createPredicate(org.apache.camel.spi.RouteContext routeContext)
Creates the
Predicate from the expression node. |
org.apache.camel.Processor |
createProcessor(org.apache.camel.spi.RouteContext routeContext)
Override this in definition class and implement logic to create the
processor based on the definition model.
|
protected <T> org.apache.camel.spi.IdempotentRepository |
resolveMessageIdRepository(org.apache.camel.spi.RouteContext routeContext)
Strategy method to resolve the
IdempotentRepository to use |
addInterceptStrategies, addRoutes, configureChild, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, createOutputsProcessorImpl, createProcessor, getId, makeProcessor, preCreateProcessor, registerReifier, reifier, wrapChannel, wrapChannel, wrapInErrorHandler, wrapProcessor
public IdempotentConsumerReifier(ProcessorDefinition<?> definition)
public org.apache.camel.Processor createProcessor(org.apache.camel.spi.RouteContext routeContext) throws Exception
ProcessorReifier
createProcessor
in class ProcessorReifier<IdempotentConsumerDefinition>
Exception
protected <T> org.apache.camel.spi.IdempotentRepository resolveMessageIdRepository(org.apache.camel.spi.RouteContext routeContext)
IdempotentRepository
to userouteContext
- route contextprotected org.apache.camel.processor.FilterProcessor createFilterProcessor(org.apache.camel.spi.RouteContext routeContext) throws Exception
FilterProcessor
from the expression node.routeContext
- the route contextFilterProcessor
Exception
- is thrown if error creating the processorprotected org.apache.camel.Predicate createPredicate(org.apache.camel.spi.RouteContext routeContext)
Predicate
from the expression node.routeContext
- the route contextApache Camel