[
https://issues.apache.org/jira/browse/CXF-7121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629464#comment-15629464
]
ASF GitHub Bot commented on CXF-7121:
-------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/cxf/pull/189
> 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.7, 3.1.8
> 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)