title: Reading Camel Constant From Property file
body: <p>I am trying to read time delay from property file .</p>
  
  <p>have defined in my property file : </p>
  
  <pre><code>time_inMilis=15000
  </code></pre>
  
  <p>I have configured my camel context xml to be :</p>
  
  <pre><code>    &lt;bean id="property" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&gt;
          &lt;property name="locations"&gt;
              &lt;value&gt;file:/D:/Develop/resources/my.properties
              &lt;/value&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  
  
      &lt;camel:camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"&gt;   
  
       &lt;propertyPlaceholder id="properties" location="file:/D:/Develop/resources/my.properties"/&gt;
  
          &lt;camel:route id="delayQueue"&gt;
              &lt;camel:from uri="seda:queue1" /&gt;
              &lt;delay asyncDelayed="true"&gt;
                  &lt;constant&gt;${time_inMilis}&lt;/constant&gt;
              &lt;/delay&gt;
              &lt;camel:to uri="seda:queue2" /&gt;
          &lt;/camel:route&gt;
  
      &lt;/camel:camelContext&gt;
  </code></pre>
  
  <p>camel do not throw any error but it seems that it ignores ${time_inMilis} and set 0 for my delay time.</p>
  
  <p>What is the right way to read the delay constant from my property file ?</p>