I guess you can get it in the seeded Camel headers in the next component after your CXFRS.
I can't remember which one exactly but just use a Cprocessor to loop on exchange.getIn().getHeaders() and print their names/values
Thanks for your answer.
But that doesn't answer my question. I will rephrase my question with an example:
I have a webservice (Server). I receive an incoming request, I process it in my route and for any reason consider there is something wrong. I want to send back an HTTP code 202. How can I do that ?
I tried to update HTTP_RESPONSE_CODE (See http://camel.apache.org/cxfrs.html). But it doesn't work...
OK, you're talking about CXF server and not client.
HTTP_RESPONSE_CODE is a good point but you also have to set Fault on :