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

Daniel H. Peger commented on CXF-7318:
--------------------------------------

bq. Is Continuation.resume() working as expected?
Yes, if I call {{Continuation.resume()}}, the request is resumed as expected.

bq. Is it JAX-RS?
Not sure. We are using it in the context of JAX-RS. However the continuation 
stuff is CXF proprietary but a lot more convenient than working with the 
{{@Suspendable}} annotation and {{AsyncResponse}}

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

Reply via email to