camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anish.somadevan" <netan...@gmail.com>
Subject Re: Camel Restlet
Date Sun, 02 Aug 2015 07:09:33 GMT
Am having a similar kind of issue where am not able to send custom headers to
a REST URL using camel restlet. This is my route,

<route id="callRESTAPI">
        <from uri="Myapplication" />
		<from uri="direct:start"/>
           <setHeader headerName="Authorization">
           <simple>token</simple>
           </setHeader>
		<to uri="restlet:http://MyRESTAPI/messages"/>
	</route>

But i get a error message from the API mentioning that the header is
missing. Is there a way to set Custom headers in camel restlet and pass it
during the API call?

Thanks,
Anish



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Restlet-tp5767988p5770209.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message