Hi Gang,
I added an update to the WIKI with some more info on doing this with Spring:
http://cwiki.apache.org/confluence/display/CAMEL/HTTP

I hope this is okay.  Here are the details:

If you are doing this using the Spring DSL, you can specify your
HttpClientConfigurer using the URI. For example:

<bean id="myHttpClientConfigurer"
 class="my.https.HttpClientConfigurer">
</bean>

<to
uri="https://myhostname.com:443/myURL?httpClientConfigurerRef=myHttpClientConfigurer"/>
 

As long as you implement the HttpClientConfigurer and configure your
keystore and truststore as described above, it will work fine.



ychawla wrote:
> 
> Is it possible to do this same 'hookup' using the Spring DSL.  I am not
> sure if it is possible to specify this in Spring:
> 
> HttpComponent httpComponent = (HttpComponent)
> getContext().getComponent("http");
> httpComponent.setHttpClientConfigurer(new MyHttpClientConfigurer()); 
> 
-- 
View this message in context: 
http://old.nabble.com/Re%3A-HTTPS-authentication-setup-using-camel-http-tp26190394p26780221.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to