Added unit tests yesterday which the TC servers ran on various Windows platforms and reported the bug. I have fixed it on trunk now, so try with latest source code on your system.
On Tue, Sep 14, 2010 at 5:53 PM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Will take a look tomorrow on windows. > > > On Tue, Sep 14, 2010 at 4:58 PM, camel_el <eric.ladouc...@cse-cst.gc.ca> > wrote: >> >> Claus, >> >> can you try the following piece of code and check if it works or not? (it >> doesn't work on my workstation, using camel 2.5.0) >> >> Code >> from("file:e:/test") >> .split(body().tokenize(",")) >> .log("Split line ${body}") >> .process(new Processor() >> { >> public void process(Exchange e) throws Exception >> { Thread.sleep(2000); } // Simulates long processing happening in my >> real application >> }) >> .end() >> .log("End of file ${file:name}"); >> >> Important: make sure you are on Windows and you need at least two input >> files in e:\test to see the error. It always happen when camel tries to >> move the second file (could be a race condition?) >> >> Let me know. >> Thanks >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Camel-calling-commit-too-early-when-using-split-seda-file-endpoint-tp2830894p2839249.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> > > > > -- > Claus Ibsen > Apache Camel Committer > > Author of Camel in Action: http://www.manning.com/ibsen/ > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus