On Thu, Nov 12, 2009 at 4:18 AM, Allen Lau <[email protected]> wrote: > Hi, > > I am using the File2 component with Spring DSL. > > Can not seem to find a good way to externalize the options of the File2 > component that take an "int" like > initialDelay and delay. > > For example, the following will fail. > > <from > uri="file://inDirectory?initialDelay=${initialDelayValue}&delay=${delayValue}" > /> > > Any suggestions? >
See this FAQ http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html > Thanks, > Allen > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
