Hi Benson

The very first call into this method does not suspend the continuation, so there's no need to resume it if the exception is returned.
Do you see a mapped exception response not being returned ? Please clarify

Cheers, Sergey

On 02/01/16 02:01, Benson Margulies wrote:
If I am in a method with an @Suspended AsyncResponse, and I neglect to
catch an exception, CXF runs mappers but they don't do any good, of
course, because nothing resumes the response.

How about if CXF instead logged at ERROR about any exception thrown
through a suspended resource method? I'm assuming that there's no way
to arrange for any uncaught exception to end up as
asyncResponse.resume(e).


Reply via email to