Re: Using the x509HostnameVerifier option in http4

2014-01-04 Thread Mohan
We are using apache-servicemix-4.3.0 and the different camel components are
as given below.

./data/jbi/MYESBComp-sa/sus/MYESBComp-camel-su/lib/camel-http4-2.8.0.jar
./data/jbi/IDServerBus-sa/sus/IDServerBus-camel-su/lib/camel-jxpath-2.6.0.jar
./data/jbi/IDServerBus-sa/sus/IDServerBus-camel-su/lib/camel-http4-2.8.0.jar
./system/org/apache/servicemix/servicemix-camel/2011.01/servicemix-camel-2011.01.jar
./system/org/apache/camel/camel-blueprint/2.6.0/camel-blueprint-2.6.0.jar
./system/org/apache/camel/camel-spring/2.6.0/camel-spring-2.6.0.jar
./system/org/apache/camel/camel-core/2.6.0/camel-core-2.6.0.jar

regards,
Mohan






--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-the-x509HostnameVerifier-option-in-http4-tp5131544p5745523.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Using the x509HostnameVerifier option in http4

2014-01-02 Thread Mohan
Hi Xavier,

I am kind of facing similar issue that you had faced earlier.
I have added 

bean id=x509HostnameVerifier
class=org.apache.http.conn.ssl.AllowAllHostnameVerifier /
in my camel context
and in the url, I have

.to(https4://dummy?httpClient.soTimeout=6x509HostnameVerifier=x509HostnameVerifier);
 

But even after that it kept on giving me exception for host name
verification as it kept on using BrowserCompatHostnameVerifier

Which also means that it did no honor the param in the URL or I did not give
it correctly.

Any pointers?

regards,
Mohan







--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-the-x509HostnameVerifier-option-in-http4-tp5131544p5745439.html
Sent from the Camel - Users mailing list archive at Nabble.com.