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/07 10:34:41 UTC
[jira] [Resolved] (CXF-7318) Continuation.suspend(-1) does not
resume request
[ https://issues.apache.org/jira/browse/CXF-7318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-7318.
-----------------------------------
Resolution: Fixed
Assignee: Sergey Beryozkin
Fix Version/s: 3.0.14
3.1.12
3.2.0
Fixed it as a documentation bug
> 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: Documentation, JAX-RS
> Affects Versions: 3.1.4
> Reporter: Daniel H. Peger
> Assignee: Sergey Beryozkin
> Fix For: 3.2.0, 3.1.12, 3.0.14
>
>
> 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)