Hi

See the completionPredicate and the closeCorrelationKeyOnCompletion option

On Tue, Aug 4, 2015 at 3:49 PM, BojanSM <b.nenado...@levi9.com> wrote:
> I have a situation, probably misusing aggregator component, where I need to
> aggregate certain (not known) number of messages and discard the rest. Since
> I don't know how many messages I have to aggregate I can not use
> completionSize to finish aggregation. On the other hand, if I put some
> completionTimeout, I am afraid that timeout will expire and new messages
> will come for aggregation. So, I would like to discard all new messages that
> satisfy correlation Expression.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Aggregator-discard-new-messages-tp5770276.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition: http://www.manning.com/ibsen2

Reply via email to