Try this; completes when total aggregate size exceeds 75, or 10 seconds
elapses, whichever comes first.
<route id="toJpaAggregator">
<from uri="seda:whatever" />
<aggregate strategyRef="myAggregator"
completionSize="75"
completionInterval="10000"
forceCompletionOnStop="true">
<correlationExpression>
<constant>true</constant>
</correlationExpression>
<to uri="jpa:?entityType=java.util.ArrayList" />
</aggregate>
</route>
--
View this message in context:
http://camel.465427.n5.nabble.com/Combining-TimeoutAwareAggregationStrategy-and-AbstractListAggregationStrategy-tp5784537p5784678.html
Sent from the Camel - Users mailing list archive at Nabble.com.