geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Genender (JIRA)" <>
Subject [jira] Closed: (GERONIMO-3616) AsyncHttpClient should support a batch invocation method
Date Thu, 06 Dec 2007 20:35:43 GMT


Jeff Genender closed GERONIMO-3616.

    Resolution: Fixed

Patch applied from GERONIMO-3615.

> AsyncHttpClient should support a batch invocation method
> --------------------------------------------------------
>                 Key: GERONIMO-3616
>                 URL:
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: AsyncHttpClient
>    Affects Versions: 1.x
>            Reporter: Sangjin Lee
>         Attachments:
> It is desirable to have a method on AsyncHttpClient that submits multiple URLs at once.
 For example,
> public void sendRequests(HttpRequestMessage[] requests);
> One would expect it to initiate all HTTP requests as soon as possible in a non-blocking
manner and return.
> Furthermore, it would be even more powerful if it returned a list of futures or a completion
queue of results.  One idea would be to return something like a completion queue (blocking)
so that results or futures are added as they are completed.  In other words,
> public BlockingQueue<HttpResponseMessage> sendRequests(HttpRequestMessage[] requests);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message