camel-users mailing list archives

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

Hi,

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

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

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

Thank you in advance.


-- 
View this message in context: http://old.nabble.com/Setting-Content-Type-Header-to-route-tp28078485p28078485.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message