title: How to add additional data to a mule payload?
body: <p>I'm trying to add some additional static data to an inbound http message (received as URL  parameters) payload before submitting it to an outbound http form based endpoint. My mule config is as follows :</p>
  
  <pre><code>&lt;flow name="login" doc:name="login"&gt;
      &lt;http:inbound-endpoint exchange-pattern="request-response" address="http://localhost:8081/login" doc:name="Login"/&gt;
  
      &lt;http:body-to-parameter-map-transformer doc:name="Body to Parameter Map"/&gt;  
  
      &lt;http:outbound-endpoint address="http://localhost:8090/mayapp/Main/login.do"
              method="POST" contentType="application/x-www-form-urlencoded" exchange-pattern="request-response"&gt;
      &lt;/http:outbound-endpoint&gt;
  &lt;/flow&gt;
  </code></pre>
  
  <p>The above transforms the URL parameters to a http form POST (name/values pairs) very nicely. What I need now is the ability to add new name-value pairs to the POST(ed) data ? The form I'm posting to expects some static data (posted as hidden HTML fields) that I would like to handle as part of the transformation process.</p>
  
  <p>I've managed to accomplish this using a custom component. I'm wondering if there's an easier way to handle this using Mule's native transformers / message processors !</p>