3 Replies Latest reply on Sep 6, 2012 2:29 AM by Claus Ibsen

    How to recover data after an unexpected shutdown ?

    Jean-Charles Guillemot Newbie

      Hello,

      The camel route I developped reads files having a variable size in an input directory, then splits them into unitary element to aggregate them into fixed intermediate files before processing data.

      My issu occurs when the server stops during splitting the input files because when I restart, I have lost data. To solve this issu, I added an agregation repository to my agregator but, at the end, I have more data than I am expected.

      Is there a strategy, a best practice to avoid losing data when you restart your application ?

      Is there a way to recover data after an unexpected shutdown during processing ?

      Thanks for your help.

      JC.