3 Replies Latest reply on Jun 13, 2012 9:33 AM by Claus Ibsen

    Need help in Exec

    sanjayeipl Newbie

      I am trying Exec component... running md5sum.exe. I can see it running in process list (in task manager). Also the exit code is 0 (success). However, I do not see its output in the outFile specified. Am I missing anything?

       

      Here is route from my camel-context xml.

      -


           

      -


       

      Here is console output...

       

       

      \[mel-1) thread #1 - timer://foo\] ExecProducer                   INFO  Executing ExecCommand \[args=\[Work.pst\], executable=md5sum.exe, timeout=9223372036854775807, outFile=\temp\md5sum.txt, workingDir=c:/data/pst, useStderrOnEmptyStdout=false\]

      \[mel-1) thread #1 - timer://foo\] ExecProducer                   INFO  The command ExecCommand \[args=\[Work.pst\], executable=md5sum.exe, timeout=9223372036854775807, outFile=\temp\md5sum.txt, workingDir=c:/data/pst, useStderrOnEmptyStdout=false\] had exit value 0

      -


       

      Regards,

      Sanjay