-
Bug
-
Resolution: Done
-
Major
-
3.0.Final
-
None
-
None
JAX-RS bean validation is performed before the request is put in asynchronous mode so when a validation exception is thrown no repsonse is returned to the client. The JAX-RS Suspended annotation suspends the request forever, the only way to set a time limit is using the asynchronous response object which cannot be accessed before we enter the method. Since validation happens first, the method is never entered.
This issue is similar to the one reported in
https://issues.jboss.org/browse/RESTEASY-721?_sscc=t and
https://issues.jboss.org/browse/RESTEASY-858?_sscc=t
The version 3.0 didn't fix the issue.