title: apache camel <simple trim="true" is not working
body: <p>I'm reading a simple content from a file, say "80631". i validate it against a regex("^\d+$") to check it's just digits. But the validation fails. When i inspect the content read from the file it's something like "80631       ". I tried to trim the whitespace with , but it didn't work. Do we have any other way to trim the whitespace?</p>
  
  <pre><code>&lt;camel:setProperty propertyName="messageId"&gt;
    &lt;simple trim="true"&gt;${body}&lt;/simple&gt;
  &lt;/camel:setProperty&gt;
  </code></pre>