|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.model.OptionalIdentifiedDefinition<Type>
org.apache.camel.model.ProcessorDefinition<ExpressionNode>
org.apache.camel.model.ExpressionNode
org.apache.camel.model.NoOutputExpressionNode
org.apache.camel.model.DynamicRouterDefinition<Type>
public class DynamicRouterDefinition<Type extends ProcessorDefinition<Type>>
Represents an XML <dynamicRouter/> element
| Field Summary | |
|---|---|
static String |
DEFAULT_DELIMITER
|
| Fields inherited from class org.apache.camel.model.ProcessorDefinition |
|---|
inheritErrorHandler, log |
| Constructor Summary | |
|---|---|
DynamicRouterDefinition()
|
|
DynamicRouterDefinition(Expression expression)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.apache.camel.model.NoOutputExpressionNode |
|---|
addOutput, id, isOutputSupported |
| Methods inherited from class org.apache.camel.model.ExpressionNode |
|---|
configureChild, createFilterProcessor, createPredicate, getExpression, preCreateProcessor, setExpression, setOutputs |
| Methods inherited from class org.apache.camel.model.OptionalIdentifiedDefinition |
|---|
description, getDescription, getDescriptionText, getId, hasCustomIdAssigned, idOrCreate, isCustomId, setCustomId, setDescription, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_DELIMITER
| Constructor Detail |
|---|
public DynamicRouterDefinition()
public DynamicRouterDefinition(Expression expression)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getLabel()
ProcessorDefinition
getLabel in interface NamedNodegetLabel in class ExpressionNodepublic String getShortName()
OptionalIdentifiedDefinition
getShortName in interface NamedNodegetShortName in class ExpressionNodepublic List<ProcessorDefinition<?>> getOutputs()
getOutputs in class NoOutputExpressionNode
public Processor createProcessor(RouteContext routeContext)
throws Exception
ProcessorDefinition
createProcessor in class ProcessorDefinition<ExpressionNode>Exceptionpublic 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 DynamicRouterDefinition<Type> ignoreInvalidEndpoints()
public DynamicRouterDefinition<Type> uriDelimiter(String uriDelimiter)
uriDelimiter - the delimiter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||