camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jejmaster <>
Subject Setting Content-Type Header to route
Date Tue, 30 Mar 2010 08:31:56 GMT


I would like to ask on how to set the content-type header into the camel
route with transform method.

<from uri="direct:testEndpoint"/>
<to uri="direct:testEndpoint2"/>
     <simple><tag> ${body} </tag></simple>

How will I set the content-type header to application/xml ?

Thank you in advance.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message