camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomohisa Igarashi <tm.igara...@gmail.com>
Subject Re: https4 protocal is giving org.apache.http.client.ClientProtocolException caused by: null
Date Thu, 20 Oct 2016 00:40:12 GMT
Can you provide more info so we can replay? A link to the minimal reproducer project would
be the best, you would place it on your github or like that. Whole route and full stacktrace
would be still helpful.

On 10/19/2016 03:07 PM, Manjanshavali wrote:
> I am setting
>
> process:
> ----------
> 1)setting property in process method.
>
> exchange.setProperty("redeem_uri",value);
>
> rote:
> -----
> 2) using the same property in the below route
> <route>
> <setHeader headerName="CamelHttpMethod">
> 	<constant>PATCH</constant>
> </setHeader>
> <setHeader headerName="CamelHttpUri">
> 	<simple>${property[redeem_uri]}</simple>
> </setHeader>
> ----------------
> ------------------
> ------------------
> </route>
>
> result:
> ------
> Exception: the exception org.apache.http.client.ClientProtocolException
> caused by: null
>
> I am added the jar files:
> ---------------------------
> <dependency>
> 	<groupId>org.apache.camel</groupId>
>         <artifactId>camel-http4</artifactId>
> 	<version>2.14.2</version>
> </dependency>
> <dependency>
> 	<groupId>org.apache.httpcomponents</groupId>
> 	<artifactId>httpclient</artifactId>
> 	<version>4.5.2</version>
> </dependency>
>
> Question:
> -----------
> why i am getting the exception? what mistake i have done?
>
> kindly provide me the soluion.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/https4-protocal-is-giving-org-apache-http-client-ClientProtocolException-caused-by-null-tp5788945.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
View raw message