public class DynamicRouterDefinition<Type extends ProcessorDefinition<Type>> extends NoOutputExpressionNode
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DELIMITER |
inheritErrorHandler, log| Constructor and Description |
|---|
DynamicRouterDefinition() |
DynamicRouterDefinition(Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
Processor |
createProcessor(RouteContext routeContext)
Override this in definition class and implement logic to create the processor
based on the definition model.
|
Type |
end()
Ends the current block
|
Boolean |
getIgnoreInvalidEndpoints() |
String |
getLabel()
Returns a label to describe this node such as the expression if some kind of expression node
|
List<ProcessorDefinition<?>> |
getOutputs() |
String |
getShortName()
Returns a short name for this node which can be useful for ID generation or referring to related resources like images
|
String |
getUriDelimiter() |
DynamicRouterDefinition<Type> |
ignoreInvalidEndpoints()
Ignore the invalidate endpoint exception when try to create a producer with that endpoint
|
void |
setIgnoreInvalidEndpoints(Boolean ignoreInvalidEndpoints) |
void |
setUriDelimiter(String uriDelimiter) |
String |
toString() |
DynamicRouterDefinition<Type> |
uriDelimiter(String uriDelimiter)
Sets the uri delimiter to use
|
addOutput, id, isOutputSupportedconfigureChild, createFilterProcessor, createPredicate, getExpression, preCreateProcessor, setExpression, setOutputsaddInterceptStrategies, addInterceptStrategy, addRoutes, aggregate, aggregate, aggregate, aggregate, aop, attribute, bean, bean, bean, bean, beanRef, beanRef, beanRef, beanRef, choice, clearOutput, convertBodyTo, convertBodyTo, createChannel, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, createProcessor, delay, delay, delay, doTry, dynamicRouter, dynamicRouter, endChoice, endDoTry, endParent, enrich, enrich, enrichRef, filter, filter, filter, filter, getIndex, getInterceptStrategies, getOtherAttributes, getParent, idempotentConsumer, idempotentConsumer, idempotentConsumer, inheritErrorHandler, inOnly, inOnly, inOnly, inOnly, inOnly, inOnly, inOut, inOut, inOut, inOut, inOut, inOut, isAbstract, isInheritErrorHandler, isTopLevelOnly, loadBalance, loadBalance, log, log, log, log, log, log, loop, loop, loop, makeProcessor, markRollbackOnly, markRollbackOnlyLast, marshal, marshal, marshal, marshal, multicast, multicast, multicast, onCompletion, onException, onException, pipeline, pipeline, pipeline, pipeline, placeholder, policy, policy, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrichRef, process, processRef, recipientList, recipientList, recipientList, recipientList, removeFaultHeader, removeHeader, removeHeaders, removeHeaders, removeProperty, resequence, resequence, resolveKnownConstantFields, resolvePropertyPlaceholders, rollback, rollback, routeId, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, sample, sample, sample, setBody, setBody, setExchangePattern, setFaultBody, setFaultHeader, setHeader, setHeader, setInheritErrorHandler, setOtherAttributes, setOutHeader, setOutHeader, setParent, setProperty, setProperty, sort, sort, sort, split, split, split, stop, threads, threads, threads, threads, throttle, throttle, throwException, to, to, to, to, to, to, to, to, to, to, toF, transacted, transacted, transform, transform, unmarshal, unmarshal, unmarshal, unmarshal, validate, validate, validate, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wrapChannel, wrapInErrorHandler, wrapProcessordescription, getDescription, getDescriptionText, getId, hasCustomIdAssigned, idOrCreate, isCustomId, setCustomId, setDescription, setIdpublic static final String DEFAULT_DELIMITER
public DynamicRouterDefinition()
public DynamicRouterDefinition(Expression expression)
public String getLabel()
ProcessorDefinitiongetLabel in interface NamedNodegetLabel in class ExpressionNodepublic String getShortName()
OptionalIdentifiedDefinitiongetShortName in interface NamedNodegetShortName in class ExpressionNodepublic List<ProcessorDefinition<?>> getOutputs()
getOutputs in class NoOutputExpressionNodepublic Processor createProcessor(RouteContext routeContext) throws Exception
ProcessorDefinitioncreateProcessor in class ProcessorDefinition<ExpressionNode>Exceptionpublic void setUriDelimiter(String uriDelimiter)
public String getUriDelimiter()
public void setIgnoreInvalidEndpoints(Boolean ignoreInvalidEndpoints)
public Boolean getIgnoreInvalidEndpoints()
public Type end()
ProcessorDefinitionend in class ProcessorDefinition<ExpressionNode>public DynamicRouterDefinition<Type> ignoreInvalidEndpoints()
public DynamicRouterDefinition<Type> uriDelimiter(String uriDelimiter)
uriDelimiter - the delimiterApache Camel