I am using Camel 2.10 version inwhich we are facing this issue. The JBoss Fuse 6.0 is running on the RHEL and we have mounted a Windows shared folder on the server linux folder is
Now we are processing file from this folder using file component as below.
The from endpoint is as below
When running the application we are getting following WARN msg and file are not getting moved to archive folder.
Caused by: java.io.IOException: Renaming file from: /mnt/sharedwin/Current/XYZ.csv to: /opt/jboss/fuse/data/target/processing/XYZ.csv failed due cannot delete from file: /mnt/sharedwin/Current/XYZ.csv after copy succeeded
Am I missing some parameters in file URL, please help.