cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4817) JAX-RS AsyncResponse implementation needs to call AsyncContext.complete after the request is done
Date Mon, 08 Dec 2014 10:49:12 GMT

    [ https://issues.apache.org/jira/browse/CXF-4817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237749#comment-14237749
] 

Sergey Beryozkin commented on CXF-4817:
---------------------------------------

I've updated the code to check an "org.apache.cxf.continuation.block.restart" contextual property.
This property needs to be used with care, enabling it is in conflict with making a JAX-RS
TimeoutHandler perform a new suspend action. It can only make sense if the application is
not doing multiple suspend actions (can be JAX-RS or JAX-WS)

> JAX-RS AsyncResponse implementation needs to call AsyncContext.complete after the request
is done
> -------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4817
>                 URL: https://issues.apache.org/jira/browse/CXF-4817
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 2.7.4, 3.0.0-milestone1
>
>
> This will help with a better recycling of threads plus will get AsyncListener onComplete
and onError callbacks called - for the registered completion callbacks be notified



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message