HTTP request queue with working pool

I am developing a Java application that connects to various web servers via the HTTP protocol (sends their request and waits for a response). I would like to use a template with a queue pool and a work pool, so I would like to know if there are any frameworks in Java that provide methods for this?

0
source share
2 answers

I think what you're asking is threadpool. It has a task queue and a series of threads working on these tasks. A bit of searching for "java threadpool" landed me there, perhaps it would be relevant. http://download.oracle.com/javase/7/docs/api/java/util/concurrent/Executors.html#newFixedThreadPool(int )

Threading , , :)

+1

java, , onlinemq.com SQS

0

All Articles