title: How to set file name without extension in camel Header using Java DSL?
body: <p>I need to set the file name without extension in header. While searching I got the below blueprint/spring code snippet. I want to achieve the same through Java DSL. can any one help me?</p>
  
  <pre><code>&lt;camel:route&gt;
  &lt;camel:from uri="file://input/orders" /&gt;
  &lt;camel:setHeader headerName="FileNameWithoutExtension"&gt;
      &lt;camel:simple&gt;${file:onlyname.noext}&lt;/camel:simple&gt;
  &lt;/camel:setHeader&gt;
  </code></pre>
  
  <p></p>