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

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

Daniel H. Peger created CXF-7318:
------------------------------------

             Summary: 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)