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

Sergey Beryozkin commented on CXF-7011:
---------------------------------------

isPending is set to true while the continuation is being suspended and set to 
false when it is resumed.
The timeout does not mean the continuation itself has gone - for example with 
JAX-RS AsyncResponse one can do multiple suspend/resume.
Thus on the timeout event the continuation is not pending and is resumed
I don't think this latest PR is valid - in the previous one you simply had a 
no-op would be isExpired and nonw you just replaced one method ref with another 
in this highly sensitive code :-)


> same method signature needs to be added in Continuation
> -------------------------------------------------------
>
>                 Key: CXF-7011
>                 URL: https://issues.apache.org/jira/browse/CXF-7011
>             Project: CXF
>          Issue Type: Sub-task
>          Components: Transports
>    Affects Versions: 3.1.7
>            Reporter: onder sezgin
>             Fix For: 3.2.0
>
>
> As this method requires access over Continuation interface this should be 
> provided and other implementations like transport-jms and transport-http with 
>  default implementation and transport-http-jetty with real implemenration 
> should be provided.



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

Reply via email to