Andy McCright created CXF-7121:
----------------------------------
Summary: Need to log a warning when async method returns a
non-void type
Key: CXF-7121
URL: https://issues.apache.org/jira/browse/CXF-7121
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 3.1.8, 3.1.7
Reporter: Andy McCright
Priority: Minor
Fix For: 3.2.0, 3.1.9
According to the javadoc for the @Suspended annotation (
http://docs.oracle.com/javaee/7/api/javax/ws/rs/container/Suspended.html ), the
JAX-RS runtime should be logging a warning message when a user's resource
contains an async method (method with a @Suspended-annotated parameter) that
returns a non-void type.
Currently, CXF will log a FINE trace message, but it ought to be a WARNING so
that it highlighted in the log output under normal logging settings.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)