Search code examples
apache-cameljbossfuseblueprint-osgiblueprintcamel-ftp

Setting dynamic delay for Camel file consumer


I want to set the delay for my camel file consumer. I am using blueprint DSL. Not sure how do I set it dynamically.

<from id="_from1" uri="file:<filepath>?delay=1000&amp;delete=true"/>

I want the value "1000" to be picked up from a property file.


Solution

  • Read the documentation about using property placeholders: http://camel.apache.org/using-propertyplaceholder.html it covers how to do that.