|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.model.OptionalIdentifiedDefinition
org.apache.camel.model.ProcessorDefinition<ExpressionNode>
org.apache.camel.model.ExpressionNode
org.apache.camel.model.RecipientListDefinition
public class RecipientListDefinition
Represents an XML <recipientList/> element
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.model.ProcessorDefinition |
|---|
errorHandlerBuilder, errorHandlerRef, log |
| Constructor Summary | |
|---|---|
RecipientListDefinition()
|
|
RecipientListDefinition(Expression expression)
|
|
RecipientListDefinition(ExpressionDefinition expression)
|
|
| Method Summary | |
|---|---|
void |
addOutput(ProcessorDefinition processorType)
Adds the given definition as output to this block |
RecipientListDefinition |
aggregationStrategy(AggregationStrategy aggregationStrategy)
Set the aggregationStrategy |
Processor |
createProcessor(RouteContext routeContext)
|
RecipientListDefinition |
executorService(ExecutorService executorService)
Setting the executor service for executing the sending to the recipients. |
AggregationStrategy |
getAggregationStrategy()
|
String |
getDelimiter()
|
ExecutorService |
getExecutorService()
|
String |
getExecutorServiceRef()
|
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 |
getStrategyRef()
|
Boolean |
isParallelProcessing()
|
Boolean |
isStopOnException()
|
RecipientListDefinition |
parallelProcessing()
Doing the splitting work in parallel |
void |
setAggregationStrategy(AggregationStrategy aggregationStrategy)
|
void |
setDelimiter(String delimiter)
|
void |
setExecutorService(ExecutorService executorService)
|
void |
setExecutorServiceRef(String executorServiceRef)
|
void |
setParallelProcessing(Boolean parallelProcessing)
|
void |
setStopOnException(Boolean stopOnException)
|
void |
setStrategyRef(String strategyRef)
|
RecipientListDefinition |
stopOnException()
Will now stop further processing if an exception occurred during processing of an Exchange and the caused exception will be thrown. |
String |
toString()
|
| Methods inherited from class org.apache.camel.model.ExpressionNode |
|---|
createFilterProcessor, getExpression, getLabel, setExpression, setOutputs |
| Methods inherited from class org.apache.camel.model.OptionalIdentifiedDefinition |
|---|
description, getDescription, getId, hasCustomIdAssigned, idOrCreate, setDescription, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RecipientListDefinition()
public RecipientListDefinition(ExpressionDefinition expression)
public RecipientListDefinition(Expression expression)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getShortName()
OptionalIdentifiedDefinition
getShortName in class ExpressionNode
public Processor createProcessor(RouteContext routeContext)
throws Exception
createProcessor in class ProcessorDefinition<ExpressionNode>Exceptionpublic List<ProcessorDefinition> getOutputs()
getOutputs in class ExpressionNodepublic void addOutput(ProcessorDefinition processorType)
Block
addOutput in interface BlockaddOutput in class ProcessorDefinition<ExpressionNode>processorType - the processor definitionpublic RecipientListDefinition aggregationStrategy(AggregationStrategy aggregationStrategy)
public RecipientListDefinition parallelProcessing()
public RecipientListDefinition stopOnException()
Exchange and the caused exception will be thrown.
The default behavior is to not stop but continue processing till the end
public RecipientListDefinition executorService(ExecutorService executorService)
executorService - the executor service
public String getDelimiter()
public void setDelimiter(String delimiter)
public Boolean isParallelProcessing()
public void setParallelProcessing(Boolean parallelProcessing)
public String getStrategyRef()
public void setStrategyRef(String strategyRef)
public String getExecutorServiceRef()
public void setExecutorServiceRef(String executorServiceRef)
public Boolean isStopOnException()
public void setStopOnException(Boolean stopOnException)
public AggregationStrategy getAggregationStrategy()
public void setAggregationStrategy(AggregationStrategy aggregationStrategy)
public ExecutorService getExecutorService()
public void setExecutorService(ExecutorService executorService)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||