Async Http package does what you are looking for. https://hc.apache.org/httpcomponents-asyncclient-dev/examples.html
3rd example down is where you want to start. Graeme On Wed, Mar 4, 2015 at 9:54 AM, Paul Bear <[email protected]> wrote: > I have a large list of URLs (about 1 millon) and I want to run > > - one thread that runs through the list and asynchronously sends GET > requests > - several worker threads that process the responses > > Is it possible to separate sending GETs and processing responses in > different threads using Apache Client ? > > Any ideas are welcome! > -- Graeme Wallace CTO FareCompare.com O: 972 588 1414 M: 214 681 9018
