Re: https4 protocal is giving org.apache.http.client.ClientProtocolException caused by: null

2016-10-20 Thread Manjanshavali
Hi,

I am trying to use CamelHttpUri instead of 

setting CamelHttpUri header with the below url:
https4://xxx.xxx.xx/-


${property[redeem_uri]}


application/json


application/vnd.api+json




 java.lang.Exception
 




Note: when i am removing the below header and depend upon the  it is working means i am able to hit the target.
if i use CamelHttpUri header it is giving the exception
org.apache.http.client.ClientProtocolException caused by: null, I suspect
that problem with CamelHttpUri when i am using https4, the same is working
fine with https protocol.


${property[redeem_uri]}


In case if i use  I have one problem, that
is i cannot be able to pass exchange property value in uri see example
below.
process:

exchange.setProperty("someValue",someValue);

route:
---


the above ${property.someValue} is going as it is not the value. if you know
the solution either one is fine, thanks for help.





--
View this message in context: 
http://camel.465427.n5.nabble.com/https4-protocal-is-giving-org-apache-http-client-ClientProtocolException-caused-by-null-tp5788945p5788989.html
Sent from the Camel - Users mailing list archive at Nabble.com.


https4 protocal is giving org.apache.http.client.ClientProtocolException caused by: null

2016-10-19 Thread Manjanshavali
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


PATCH


${property[redeem_uri]}


--
--


result:
--
Exception: the exception org.apache.http.client.ClientProtocolException
caused by: null

I am added the jar files:
---

org.apache.camel
camel-http4
2.14.2


org.apache.httpcomponents
httpclient
4.5.2


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.