public abstract class DelegateDefinition
extends org.apache.camel.model.OutputDefinition<org.apache.camel.model.RouteDefinition>
OutputDefinition
that combines the Processor
created by
doCreateDelegate(RouteContext)
and the child processor created by
ProcessorDefinition.createChildProcessor(org.apache.camel.spi.RouteContext, 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(RouteContext)
implementations.Constructor and Description |
---|
DelegateDefinition() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Processor |
createProcessor(org.apache.camel.spi.RouteContext routeContext) |
protected abstract org.apache.camel.Processor |
doCreateDelegate(org.apache.camel.spi.RouteContext routeContext)
Creates a
Processor for this DSL element. |
getOutputs, isOutputSupported, setOutputs, toString
addInterceptStrategies, addInterceptStrategy, addOutput, addRoutes, aggregate, aggregate, aggregate, aggregate, aop, attribute, bean, bean, bean, bean, bean, bean, bean, bean, beanRef, beanRef, beanRef, beanRef, beanRef, choice, claimCheck, claimCheck, claimCheck, claimCheck, clearOutput, configureChild, convertBodyTo, convertBodyTo, createChannel, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, createOutputsProcessorImpl, createProcessor, delay, delay, delay, doTry, dynamicRouter, dynamicRouter, end, endChoice, endDoTry, endHystrix, endParent, endRest, enrich, enrich, enrich, enrich, enrich, enrichRef, enrichRef, enrichRef, enrichWith, enrichWith, enrichWith, filter, filter, filter, filter, getIndex, getInterceptStrategies, getLabel, getOtherAttributes, getParent, hystrix, id, idempotentConsumer, idempotentConsumer, idempotentConsumer, idempotentConsumer, inheritErrorHandler, inOnly, inOnly, inOnly, inOnly, inOnly, inOnly, inOut, inOut, inOut, inOut, inOut, inOut, isAbstract, isInheritErrorHandler, isTopLevelOnly, isWrappingEntireOutput, loadBalance, loadBalance, log, log, log, log, log, log, loop, loop, loop, loopDoWhile, loopDoWhile, makeProcessor, markRollbackOnly, markRollbackOnlyLast, marshal, marshal, marshal, marshal, multicast, multicast, multicast, onCompletion, onException, onException, pipeline, pipeline, pipeline, pipeline, placeholder, policy, policy, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrichRef, pollEnrichRef, pollEnrichWith, pollEnrichWith, pollEnrichWith, preCreateProcessor, process, process, process, processRef, recipientList, recipientList, recipientList, recipientList, removeFaultHeader, removeHeader, removeHeaders, removeHeaders, removeProperties, removeProperties, removeProperty, resequence, resequence, rollback, rollback, routeDescription, routeId, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, saga, sample, sample, sample, script, script, serviceCall, serviceCall, serviceCall, setBody, setBody, setBody, setBody, setExchangePattern, setFaultBody, setFaultHeader, setHeader, setHeader, setHeader, setInheritErrorHandler, setOtherAttributes, setOutHeader, setOutHeader, setParent, setProperty, setProperty, sort, sort, sort, split, split, split, startupOrder, stop, threads, threads, threads, threads, throttle, throttle, throttle, throwException, throwException, to, to, to, to, to, to, to, to, to, to, toD, toD, toF, transacted, transacted, transform, transform, unmarshal, unmarshal, unmarshal, unmarshal, validate, validate, validate, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wrapChannel, wrapChannel, wrapInErrorHandler, wrapProcessor
public org.apache.camel.Processor createProcessor(org.apache.camel.spi.RouteContext routeContext) throws Exception
createProcessor
in class org.apache.camel.model.ProcessorDefinition<org.apache.camel.model.RouteDefinition>
Exception
protected abstract org.apache.camel.Processor doCreateDelegate(org.apache.camel.spi.RouteContext routeContext)
Processor
for this DSL element.routeContext
- the current route context.Processor
instance.Exception
Copyright © 2018 Open eHealth Foundation. All rights reserved.