title: Response to REST client from Camel CXFRS route?
body: <p>I'm trying to create a response to a REST web service call in a CXFRS Camel route, but no matter what I do the response to the client is always the same 200, not 201. Here's my route:</p>
  
  <pre><code>&lt;route id="front-end"&gt;
      &lt;from uri="cxfrs:bean:myService" /&gt;
      &lt;setBody&gt;
          &lt;constant&gt;Will do...&lt;/constant&gt;
      &lt;/setBody&gt;
      &lt;setHeader headerName="CamelHttpResponseCode"&gt;
          &lt;constant&gt;201&lt;/constant&gt;
      &lt;/setHeader&gt;
      &lt;setHeader headerName="Content-Type"&gt;
          &lt;constant&gt;more/blah&lt;/constant&gt;
      &lt;/setHeader&gt;
  &lt;/route&gt;
  </code></pre>
  
  <p>The body is returned but the response code and content type are ignored. What am I doing wrong?</p>
  
  <p>Thanks,
  Matt </p>