You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ishada <ab...@gmail.com> on 2015/11/11 13:18:56 UTC

camel lock on file

Hi,
I am trying to implement a scenario using camel which is as follows:-

1->Get File From JMS queue
2->Store the file and crc value of the file in a directory
3->Move the file and crc file to the SFTP server and once it is successfull 

My route is as follows
from("jms:queue")
     .multicast("","")
     .end()
     .process(save the file to sftp Server);

from("direct:txtUpload")
      .to("file directory");
from("dtrect:txtUpload").process("generating crc")
      .to("saving to the same directory as the txt files");

When I run this code only the crc files are getting uploaded to the server,
and when I check the directory where the files are stored on the local
system there is an extension of .camelLock on one of the files





--
View this message in context: http://camel.465427.n5.nabble.com/camel-lock-on-file-tp5773641.html
Sent from the Camel - Users mailing list archive at Nabble.com.