Getting java.util.concurrent.RejectedExecutionException when the Java SDK tries to update 500 queues in parallel. The default HttpClient config seems to hit the thread limit way too fast. I’m using GenesysCloudApiBuilder but can’t figure out where to inject a custom PoolingHttpClientConnectionManager to bump the max connections. The docs are thin on this. Here’s the init block:
GenesysCloudApi api = GenesysCloudApiBuilder.builder()
.withClientId(clientId)
.withClientSecret(secret)
.build();
How do I swap out the underlying HTTP client before calling build()?