When a new message arrives into the aggregator? If so use the completion predicate.
If from some external way, then use http://static.javadoc.io/org.apache.camel/camel-core/2.18.2/org/apache/camel/processor/aggregate/AggregateController.html On Sat, Feb 25, 2017 at 11:24 PM, pavijit <[email protected]> wrote: > How can I stop an aggregator when a certain condition becomes true and quit? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Stop-Aggregator-and-Quit-tp5794472.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
