Which version of Camel do you use? Do you use multiple http endpoints? Best,
Christian ----------------- Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Thu, Jan 2, 2014 at 3:59 PM, Mohan <mohann...@gmail.com> wrote: > 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=60000&x509HostnameVerifier=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. >