Use Case: Send Asynchronous Request And Ignore Response


I want to send a request without blocking the application.
I don't care about the response to the request.


The requirement for ignoring the response was raised by Saminda Abeyruwan on the developer mailing list.
It originates from the Web Services scenario fire-and-forget.


Even though the response is ignored by the application, something has to be done for releasing the connection over which it is sent from the server. If the connection should be re-used, the response must be read. This raises basically the same questions about threads and responsibilities as does generating follow-up requests, except that the thread is needed to consume the response.

UseCases/AsyncFireAndForget (last edited 2009-09-20 21:46:20 by localhost)