Thank you for the reply and the suggestion, although I was hoping for ideas
about a Java implementation.  I generally use the Java DSL, since I don't
prefer XML.  However, I ended up using FlexibleAggregationStrategy which is
pretty cool.

On Sat, Jul 2, 2016 at 8:40 PM, raffi <raffi.onj...@gmail.com> wrote:

> 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.
>

Reply via email to