Hello, 

I use HttpClientConfigurer in camel ver. 2.11.0 to use SSL on HTTP
component:

private static String PROTOCOL = "http";

authhttps = new Protocol(PROTOCOL, new AuthSSLProtocolSocketFactory(
                        new URL("file:" + keyStore), keyStorePassword,
                        new URL("file:" + trustStore), trustStorePassword),
port);

Protocol.registerProtocol(PROTOCOL, authhttps);

But now I have in my project 2 different endpoints (with different ports)
with SSL. 

So when I create HttpClientConfigurer instances for two endpoints, the
second instance replace my first configuration for http.

How can I configure SSL on http component when I need it for more then just
one endpoint?

Thanks.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Multiple-endpoints-with-SSL-by-using-http-component-tp5743358.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to