public class RoutingSlipDefinition<Type extends ProcessorDefinition<Type>> extends NoOutputExpressionNode
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DELIMITER |
inheritErrorHandler, log
Constructor and Description |
---|
RoutingSlipDefinition() |
RoutingSlipDefinition(Expression expression) |
RoutingSlipDefinition(Expression expression,
String uriDelimiter) |
RoutingSlipDefinition(String headerName) |
RoutingSlipDefinition(String headerName,
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
|
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() |
RoutingSlipDefinition<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() |
RoutingSlipDefinition<Type> |
uriDelimiter(String uriDelimiter)
Sets the uri delimiter to use
|
addOutput, id, isOutputSupported
configureChild, createFilterProcessor, createPredicate, getExpression, preCreateProcessor, setExpression, setOutputs
addInterceptStrategies, 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, wrapProcessor
description, getDescription, getDescriptionText, getId, hasCustomIdAssigned, idOrCreate, setDescription, setId
public static final String DEFAULT_DELIMITER
public RoutingSlipDefinition()
public RoutingSlipDefinition(String headerName)
public RoutingSlipDefinition(Expression expression, String uriDelimiter)
public RoutingSlipDefinition(Expression expression)
public String getShortName()
OptionalIdentifiedDefinition
getShortName
in interface NamedNode
getShortName
in class ExpressionNode
public String getLabel()
ProcessorDefinition
getLabel
in interface NamedNode
getLabel
in class ExpressionNode
public Processor createProcessor(RouteContext routeContext) throws Exception
ProcessorDefinition
createProcessor
in class ProcessorDefinition<ExpressionNode>
Exception
public List<ProcessorDefinition<?>> getOutputs()
getOutputs
in class NoOutputExpressionNode
public void setUriDelimiter(String uriDelimiter)
public String getUriDelimiter()
public void setIgnoreInvalidEndpoints(Boolean ignoreInvalidEndpoints)
public Boolean getIgnoreInvalidEndpoints()
public Type end()
ProcessorDefinition
end
in class ProcessorDefinition<ExpressionNode>
public RoutingSlipDefinition<Type> ignoreInvalidEndpoints()
public RoutingSlipDefinition<Type> uriDelimiter(String uriDelimiter)
uriDelimiter
- the delimiterApache Camel