camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From camel_el <>
Subject Re: Camel calling commit too early when using split+seda+file endpoint
Date Tue, 14 Sep 2010 14:58:35 GMT


  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)

    .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
  .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.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message