camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henryk Konsek <>
Subject Re: Sinchronize a route with JPA and a route with SFTP component
Date Mon, 21 Jan 2013 15:40:00 GMT

> I can I discover that first route has finished the polling ?

JPA consumer works in a batch [1] mode. It means that you can refer to
the following exchange properties in your route:
* CamelBatchSize
* CamelBatchIndex
* CamelBatchComplete

You are interested in the last one (which will be true only for the
last message in the batch).



Henryk Konsek

View raw message