camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richa <rsinha2...@gmail.com>
Subject Set rest service headers for querying
Date Thu, 24 Apr 2014 10:11:28 GMT
Hi,

I have a camel route which makes a GET request to a rest service hosted on
another server. I need to set a header for invoking the rest service. I am
using CxfRsEndpoint in camel for it.

I think the headers are set in the JAXRSClientFactoryBean. But I am not able
to set the header there. I am able to set the query parameters but not the
headers. 

Can someone please tell me how to set the headers in CxfRsEndpoint?

Please help me with this problem.

Thanks,
Richa
Amadeus Software Labs Pvt. Ltd.



--
View this message in context: http://camel.465427.n5.nabble.com/Set-rest-service-headers-for-querying-tp5750525.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message