title: In wso2 ESB how to send an image
body: <p>In wso2 ESB I want to send image file using multipart/form-data but that data has to be stored in ESB. I am using a condition in ESB if that condition has met this data(image in multipart/form-data) has to be sent to the endpoint.</p>
  
  <p>flow is like this,</p>
  
  <pre><code>call ESB(with image file)--&gt;store image in ESB--&gt; check condition--&gt;if it meets condition--&gt; send the image file or data that is stored to the endpoint.
  </code></pre>
  
  <p>Please help me how to achieve this because while i was trying multipart/form-data seems to be not working properly in WSO2 ESB as content type skips boundary info in header. </p>
  
  <p>Please help me in achieving this integration pattern, if possible please add an example.</p>