[undertow-dev] Is it ok to do a blocking action from a Receiver callback?

Michael Grove mike at stardog.com
Thu Mar 30 15:58:13 EDT 2017


If I have some code ala

theRequest.getRequestReceiver().receiveFullString((theExchange, str) -> {
  ...
});

Is it ok to perform a time consuming task w/ the body of the request in the
callback, or is it better to move off the io thread and use
`HttpServerExchange.getInputStream`?

Cheers,

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20170330/628ed8b8/attachment.html 


More information about the undertow-dev mailing list