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&delete=true"/>
I want the value "1000" to be picked up from a property file.
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&delete=true"/>
I want the value "1000" to be picked up from a property file.
Read the documentation about using property placeholders: http://camel.apache.org/using-propertyplaceholder.html it covers how to do that.
Got it working by adding the correct property placeholder tags {{delay}}.
Using $simple{delay} throws compile time error.