On Mon, Oct 10, 2011 at 10:36 AM, diwakar <diwakar.j...@nsn.com> wrote: > Hi, > > >> The file is a single threaded scheduled consumer > Thanks for the reply. This is one difference compared to > servicemix JBI. In servicemix multiple threads can poll the input folder. > If we use multiple thread only for processing, when is the file > deleted? Is it deleted immediately after delivering the message to the next > endpoint? Is there someway to wait for the complete flow to finish and then > delete the file? (If the flow fails, then dont delete the). How can this be > done if processing is done by multiple threads, as there is no way to track > which file processing succeded and which failed? > > Please let me know your comment. >
Yes the file is deleted at the end, when the exchange is done. > With Best Regards, > Diwakar > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Thread-pool-for-components-in-Camel-tp4722190p4887428.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/