camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Anderson <>
Subject Path in file component using property value
Date Mon, 18 Feb 2013 15:42:25 GMT
I have a camel-context.xml file with a route that polls a directory.  I have
a property file that is being read and I would like to use a property from
it to set the directory.  First I tried this:


where PreOutDir is my property name but I got a message saying

Dynamic expressions with ${ } placeholders is not allowed. Use the fileName
option to set the dynamic expression.

I tried this


but that produced
Unknown function: PreOutDir at location 0

This must be possible but the syntax is not clear...

I'm using Camel 2.10.1

Does anyone know a way?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message