Hi

Yes and yes. 

A .camellock file appears for each of the files, and most are
processed/removed. but CamelBatchComplete is then set to true and the route
stops. The .camellock for the file which I put a delay on is then cleared
and the file remains unprocessed.

I've customised the shutdown strategy to avoid having to wait for 5 minutes
by:

        <bean id="defaultShutdownStrategy" 
                class="org.apache.camel.impl.DefaultShutdownStrategy"> 
                <property name="timeout" value="10"/> 
                <property name="shutdownNowOnTimeout" value="true"/> 
        </bean> 

My concern is still that I need to know when all the threads have completed
(succesfully/with a pause or not) and THEN trigger the route shutdown/other
stuff. 

CamelBatchComplete seems to be set to true before this event however?




--
View this message in context: 
http://camel.465427.n5.nabble.com/file-trigger-processing-lots-of-files-tp5778807p5779203.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to