camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgaur <vishalsrivas...@gmail.com>
Subject Re: Camel file movement from one folder to another sometimes giving exception saying "Cannot rename file"
Date Thu, 07 Jul 2016 19:19:00 GMT
Hi,
I am not sure what are you trying to do but your destination Folder should
not contain move and move failed option .

At the same time change move to premove to avoid conflict.

/<camel:endpoint id="srcFolder" 
                       
uri="file://SRC?premove=.Success&amp;moveFailed=.Error" />
<camel:endpoint id="destFolder" 
                        uri="file://DEST" />
/






--
View this message in context: http://camel.465427.n5.nabble.com/Camel-file-movement-from-one-folder-to-another-sometimes-giving-exception-saying-Cannot-rename-file-tp5784924p5784942.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message