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.