title: Apache Camel: How to get parameters sent to a Camel Servlet using a HTTP POST request by a smart way?
body: <p>I'm writing a route that may receive a TXT file with some parameters using a Camel Servlet Component.
  According to the <a href="http://camel.apache.org/servlet.html" rel="nofollow">Camel documentation</a> I'm supposed to have the parameter set in the header of the message. 
  But in the the case of a HTTP POST it seems that the header is not populated as expected. <br/> 
  I found that the body contains all the request, the file and the parameters.</p>
  
  <p>Here is an example of content :</p>
  
  <pre><code>------WebKitFormBoundaryC9GDMXt2OAHARCZj
  Content-Disposition: form-data; name="upfile"; filename="user.txt"
  Content-Type: text/plain
  hello world...
  ...
  ------WebKitFormBoundaryC9GDMXt2OAHARCZj 
  Content-Disposition: form-data; name="userdata" testtest 
  ------WebKitFormBoundaryC9GDMXt2OAHARCZj 
  Content-Disposition: form-data; name="id" 12344 
  ------WebKitFormBoundaryC9GDMXt2OAHARCZj--
  </code></pre>
  
  <p>Does someone know a way to get the parameters by a smart way?<br/>
  Do I have to make my own parser in my processor?</p>