public class RoutingSlipDefinition<Type extends ProcessorDefinition<Type>> extends NoOutputExpressionNode
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_DELIMITER |
inheritErrorHandler, log| Constructor and Description |
|---|
RoutingSlipDefinition() |
RoutingSlipDefinition(Expression expression) |
RoutingSlipDefinition(Expression expression,
java.lang.String uriDelimiter) |
RoutingSlipDefinition(java.lang.String headerName) |
RoutingSlipDefinition(java.lang.String headerName,
java.lang.String uriDelimiter) |
| 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
|
java.lang.Boolean |
getIgnoreInvalidEndpoints() |
java.lang.String |
getLabel()
Returns a label to describe this node such as the expression if some kind of expression node
|
java.util.List<ProcessorDefinition<?>> |
getOutputs() |
java.lang.String |
getShortName()
Returns a short name for this node which can be useful for ID generation or referring to related resources like images
|
java.lang.String |
getUriDelimiter() |
RoutingSlipDefinition<Type> |
ignoreInvalidEndpoints()
Ignore the invalidate endpoint exception when try to create a producer with that endpoint
|
void |
setIgnoreInvalidEndpoints(java.lang.Boolean ignoreInvalidEndpoints) |
void |
setUriDelimiter(java.lang.String uriDelimiter) |
java.lang.String |
toString() |
RoutingSlipDefinition<Type> |
uriDelimiter(java.lang.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, 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 java.lang.String DEFAULT_DELIMITER
public RoutingSlipDefinition()
public RoutingSlipDefinition(java.lang.String headerName)
public RoutingSlipDefinition(java.lang.String headerName,
java.lang.String uriDelimiter)
public RoutingSlipDefinition(Expression expression, java.lang.String uriDelimiter)
public RoutingSlipDefinition(Expression expression)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getShortName()
OptionalIdentifiedDefinitiongetShortName in interface NamedNodegetShortName in class ExpressionNodepublic java.lang.String getLabel()
ProcessorDefinitiongetLabel in interface NamedNodegetLabel in class ExpressionNodepublic Processor createProcessor(RouteContext routeContext) throws java.lang.Exception
ProcessorDefinitioncreateProcessor in class ProcessorDefinition<ExpressionNode>java.lang.Exceptionpublic java.util.List<ProcessorDefinition<?>> getOutputs()
getOutputs in class NoOutputExpressionNodepublic void setUriDelimiter(java.lang.String uriDelimiter)
public java.lang.String getUriDelimiter()
public void setIgnoreInvalidEndpoints(java.lang.Boolean ignoreInvalidEndpoints)
public java.lang.Boolean getIgnoreInvalidEndpoints()
public Type end()
ProcessorDefinitionend in class ProcessorDefinition<ExpressionNode>public RoutingSlipDefinition<Type> ignoreInvalidEndpoints()
public RoutingSlipDefinition<Type> uriDelimiter(java.lang.String uriDelimiter)
uriDelimiter - the delimiterCopyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.