[undertow-dev] Async/Rx approach in HttpHandlers

Girish Sharma scrapmachines at gmail.com
Tue Feb 26 05:10:44 EST 2019


Hi,

I have been trying to find some solid examples for using
Observables/Callbacks/Futures to delegate long running tasks (which return
the response to be sent back) over to separate threads. The idea is that
the handler method simply spawns an async task and whenever that async
tasks completes, we send back the response without making the handler
method/worker threads wait for the async task to finish.

Any pointers/examples would be appreciated.
-- 
Girish Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20190226/8b002470/attachment.html 


More information about the undertow-dev mailing list