[
https://issues.apache.org/activemq/browse/CAMEL-3169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62190#action_62190
]
Willem Jiang commented on CAMEL-3169:
-------------------------------------
Hi Martin
As CXF 2.2.x is using Jetty6 style continuation, and the camel-jetty is using
Jetty7, we are facing different continuation implementation.
in CXF 2.2.x, you need to call the AsyncProcess process API before call the
suspend, so the continuation.resume() could be called before
continuation.suspend().
And the AsyncCallback done() is called always after the suspend, I don't think
CamelContinuationServlet will have the issue that CXF continuation is faced.
> Add continuation synchronize block to avoid the CamelAsync API return earlier
> then the interceptor chain is suspend
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-3169
> URL: https://issues.apache.org/activemq/browse/CAMEL-3169
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-cxf
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.5.0
>
>
> As the CamelAsyncProcess always takes some time to do it job, we barely hit
> the upper situation, but it still has chance to hit this situation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.