Hi - this might not be strictly Camel question but here goes: I'm having some problems finding handling different paths when working with files in Camel:
from("file://data/in/inbox?move=data/in/backup/${date:now:yyyyMMddhh}/${file:name}")...etc I have a standard Eclipse project with /bin and /src. Next to these i have /data, /settings and /schemas. So, when I run the above route Camel reads from the correct directory but then wants to create from the read position, so I get /data/in/inbox/data/in/backup/etc instead og /data/in/inbox. This can be corrected with ../../../ but that's not really elegant - what to do? I'm also trying to use the new PropertiesComponent in Camel 2.3.0 and I have troubles reaching the correct directory there too. PropertiesComponent pc = new PropertiesComponent(); pc.setLocation("settings/opsigclient.properties"); This is not working I get an exception saying that this directory cannot be found on the classpath. It works if I move the settings directory inside the java-package where the .class files are placed. -- View this message in context: http://old.nabble.com/Problems-with-paths.-tp28013388p28013388.html Sent from the Camel - Users mailing list archive at Nabble.com.