camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: How to call a bean after all files has been processed?
Date Fri, 04 Jul 2014 07:30:55 GMT
Hi

See about the batch completed property you can use to know when the
batch of files is complete
http://camel.apache.org/batch-consumer.html

And this has been debated before on these forums so you can make
search and find that.

On Thu, Jul 3, 2014 at 5:25 PM, zzkozak <marcin@pikula.de> wrote:
> I wrote the following route and expected that the bean 'teaserService' should
> be called only one time, at the end of processing of all files, but ... it's
> called after processing of each file:
>
> How to achieve such a behavior?
>
> Thanks
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-call-a-bean-after-all-files-has-been-processed-tp5753293.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message