|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.model.OptionalIdentifiedType<Type>
org.apache.camel.model.ProcessorDefinition<AggregateDefinition>
org.apache.camel.model.AggregateDefinition
public class AggregateDefinition
Represents an XML <aggregate/> element
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.model.OptionalIdentifiedType |
|---|
nodeCounters |
| Constructor Summary | |
|---|---|
AggregateDefinition()
|
|
AggregateDefinition(Expression correlationExpression)
|
|
AggregateDefinition(Expression correlationExpression,
AggregationStrategy aggregationStrategy)
|
|
AggregateDefinition(ExpressionDefinition correlationExpression)
|
|
AggregateDefinition(Predicate predicate)
|
|
| Methods inherited from class org.apache.camel.model.OptionalIdentifiedType |
|---|
createId, description, getDescription, getId, getNodeCounter, idOrCreate, setDescription, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AggregateDefinition()
public AggregateDefinition(Predicate predicate)
public AggregateDefinition(Expression correlationExpression)
public AggregateDefinition(ExpressionDefinition correlationExpression)
public AggregateDefinition(Expression correlationExpression,
AggregationStrategy aggregationStrategy)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getShortName()
OptionalIdentifiedType
getShortName in class OptionalIdentifiedType<AggregateDefinition>
public Processor createProcessor(RouteContext routeContext)
throws Exception
createProcessor in class ProcessorDefinition<AggregateDefinition>Exceptionpublic ExpressionClause<AggregateDefinition> createAndSetExpression()
protected Aggregator createAggregator(RouteContext routeContext)
throws Exception
Exceptionpublic AggregationCollection getAggregationCollection()
public void setAggregationCollection(AggregationCollection aggregationCollection)
public AggregationStrategy getAggregationStrategy()
public void setAggregationStrategy(AggregationStrategy aggregationStrategy)
public Integer getBatchSize()
public void setBatchSize(Integer batchSize)
public Integer getOutBatchSize()
public void setOutBatchSize(Integer outBatchSize)
public Long getBatchTimeout()
public void setBatchTimeout(Long batchTimeout)
public String getStrategyRef()
public void setStrategyRef(String strategyRef)
public String getCollectionRef()
public void setCollectionRef(String collectionRef)
public void setCompletionPredicate(ExpressionSubElementDefinition completionPredicate)
public ExpressionSubElementDefinition getCompletionPredicate()
public Boolean getGroupExchanges()
public void setGroupExchanges(Boolean groupExchanges)
public AggregateDefinition batchSize(int batchSize)
batchSize - the batch size
public AggregateDefinition outBatchSize(int batchSize)
batchSize - the batch size
public AggregateDefinition batchTimeout(long batchTimeout)
batchTimeout - the timeout in millis
public AggregateDefinition aggregationCollection(AggregationCollection aggregationCollection)
aggregationCollection - the aggregate collection to use
public AggregateDefinition aggregationStrategy(AggregationStrategy aggregationStrategy)
aggregationStrategy - the aggregate strategy to use
public AggregateDefinition collectionRef(String collectionRef)
collectionRef - reference to the aggregate collection to lookup in the registry
public AggregateDefinition strategyRef(String strategyRef)
strategyRef - reference to the strategy to lookup in the registry
public AggregateDefinition groupExchanges()
GroupedExchange class holding all the aggregated exchanges.
public ExpressionClause<AggregateDefinition> completionPredicate()
public AggregateDefinition completionPredicate(Predicate predicate)
predicate - the predicateprotected void checkNoCompletedPredicate()
public void setCorrelationExpression(ExpressionSubElementDefinition correlationExpression)
public ExpressionSubElementDefinition getCorrelationExpression()
public ExpressionDefinition getExpression()
public void setExpression(ExpressionDefinition expression)
public List<ProcessorDefinition> getOutputs()
getOutputs in class ProcessorDefinition<AggregateDefinition>public void setOutputs(List<ProcessorDefinition> outputs)
protected void configureChild(ProcessorDefinition output)
configureChild in class ProcessorDefinition<AggregateDefinition>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||