You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/04/06 09:01:41 UTC

[jira] [Commented] (CXF-7318) Continuation.suspend(-1) does not resume request

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

Sergey Beryozkin commented on CXF-7318:
---------------------------------------

I'd qualify at this stage as a documentation bug, I vaguely recall I may've typed these JavaDocs.
Is Continuation.resume() working as expected ? Is it JAX-RS ?

> Continuation.suspend(-1) does not resume request
> ------------------------------------------------
>
>                 Key: CXF-7318
>                 URL: https://issues.apache.org/jira/browse/CXF-7318
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.4
>            Reporter: Daniel H. Peger
>
> I recently started using {{Continuation}} and it's working pretty fine.
> According to the Java-Doc of [{{Continuation.suspend}}|https://cxf.apache.org/javadoc/latest/org/apache/cxf/continuations/Continuation.html#suspend(long)] a request should be resumed immediately, if a negative timeout is supplied. But I noticed that a negative timeout - similar to a timeout of {{0}} - will result in the request to be suspended until resume is called explicitly by other means.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)