soTimeout = configuration.socketTimeout();
connectTimeout = configuration.connectionTimeout();
maxRetries = configuration.maxRetries();
if (configuration.security().ssl().enabled()) {
SslConfiguration ssl = configuration.security().ssl();
if (ssl.sslContext() != null) {
sslContext = ssl.sslContext();
} else {
sslContext = SslContextFactory.getContext(ssl.keyStoreFileName(), ssl.keyStorePassword(), ssl.trustStoreFileName(), ssl.trustStorePassword());
}
}
if (log.isDebugEnabled()) {
log.debugf("Statically configured servers: %s", servers);