I have routes defined that use the sftp endpoint. Right now I have the user password stored in the camel-context.xml file, but would like to store the password in a separate file. So instead of
<from uri="sftp://auser@1.2.3.4/files?password=whatever&delete=true" /> I would like the following: <from uri="sftp://auser@1.2.3.4/files?password=${password.from.file}&delete=true" /> I believe this can be done using Spring's PropertyPlaceholderConfigurer, but it does not seem to work correctly.