I found that the 3 lines of code following "TLS Parameters" resolved the
SSL/TLS issue.
@Override
public void configureClient(Client client) {
// Policy
HTTPConduit conduit = (HTTPConduit) client.getConduit();
HTTPClientPolicy policy = conduit.getClient();
if (policy == null) {
policy = new HTTPClientPolicy();
conduit.setClient(policy);
}
// Policy
policy.setConnectionTimeout(10000L);
policy.setReceiveTimeout(10000L);
// TLS Parameters
TLSClientParameters tlsClientParameters = new TLSClientParameters();
tlsClientParameters.setUseHttpsURLConnectionDefaultSslSocketFactory(true);
conduit.setTlsClientParameters(tlsClientParameters);
}
}
}
Regards
Anthony Dodd
Fundtech Financial Messaging
--
View this message in context:
http://camel.465427.n5.nabble.com/Programmatic-CXF-Endpoint-tp5756368p5770254.html
Sent from the Camel - Users mailing list archive at Nabble.com.