need help to understand channelmanager vs thread factory

50 views
Skip to first unread message

Nagaraja Tantry

unread,
Sep 18, 2020, 12:08:27 PM9/18/20
to asynchttpclient
Hello Folks,

I am trying to setup config using `DefaultAsyncHttpClientConfig.Builder`. I am not sure about the difference between Channel Manager vs ThreadPool. Can someone please share any documentation around it? 

At present i am using ThreadPoolTaskExecutor from Spring and setting the below values.

```
ThreadPoolTaskExecutor threadFactory = new ThreadPoolTaskExecutor();
threadFactory.setMaxPoolSize(100);
threadFactory.setKeepAliveSeconds(10);
configBuilder.setThreadFactory(threadFactory);
```

--
Thanks,
Naga
Reply all
Reply to author
Forward
0 new messages