Many thanks Claus. I've tried to simply the scenario and ended up asking the
wrong question. My bad. 

The input directory in my scenario changes daily based on the date. So the
route looks like this: 

string todaysDateStr = "01-01-2015"; //this value changes based on the
current date
from("smb://networkDriveOne/"+ todaysDateStr
+"?noop=true&fileName=inputFile.csv") 
   .to("smb://networkDriveTwo?fileExist=Override")

So everyday there will be a new input directory with new inputFile.csv in
it. Camel, however, doesn't copy the file unless I restart it. 
Does Camel handle dynamic input directories? 

Moving/deleting files is not an option as they are used by other legacy
systems. 



--
View this message in context: 
http://camel.465427.n5.nabble.com/smb-endpoint-modified-files-not-copied-to-destination-tp5770499p5770515.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to