camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agustino <siau_...@yahoo.com>
Subject onCompletion not working when move file
Date Fri, 04 May 2012 08:02:40 GMT
Hi All,

I am using Camel 2.9.2 and activeMQ 5.5. I face the problem file not found
when move the original file to success folder when successfully
processed.This is my scenario:
read file from folder /input -> do transformation -> put the output to queue
-> move the original file to /success folder

from("file://input").onCompletion().onCompleteOnly().useOriginalBody().to("file://success").
processRef("myProcessor").to("activemq://queue:output");

Please kindly to give me the hint.

Thanks

--
View this message in context: http://camel.465427.n5.nabble.com/onCompletion-not-working-when-move-file-tp5685102.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message