throw new DeploymentException("Invalid URI.", e);
}
final boolean secure = uri.getScheme().equalsIgnoreCase("wss");
ThreadPoolConfig threadPoolConfig = Utils.getProperty(properties, ClientProperties.WORKER_THREAD_POOL_CONFIG, ThreadPoolConfig.class);
if (threadPoolConfig == null) {
threadPoolConfig = ThreadPoolConfig.defaultConfig();
}
// weblogic.websocket.client.max-aio-threads has priority over what is in thread pool config
String wlsMaxThreadsStr = System.getProperty(ClientManager.WLS_MAX_THREADS);
if (wlsMaxThreadsStr != null) {
try {
int wlsMaxThreads = Integer.parseInt(wlsMaxThreadsStr);
threadPoolConfig.setMaxPoolSize(wlsMaxThreads);
} catch (Exception e) {
LOGGER.log(Level.CONFIG, String.format("Invalid type of configuration property of %s , %s cannot be cast to Integer", ClientManager.WLS_MAX_THREADS, wlsMaxThreadsStr));
}
}
final Integer containerIdleTimeout = Utils.getProperty(properties, ClientProperties.SHARED_CONTAINER_IDLE_TIMEOUT, Integer.class);
processProxy(properties, uri);
final ThreadPoolConfig finalThreadPoolConfig = threadPoolConfig;
final Callable<Void> jdkConnector = new Callable<Void>() {
@Override
public Void call() throws Exception {
final TransportFilter transportFilter;