You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/02/21 15:57:38 UTC

[jira] Resolved: (CAMEL-3694) CxfConsumer creates Continuation even when Endpoint is configured as synchronous.

     [ https://issues.apache.org/jira/browse/CAMEL-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3694.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.0

trunk: 1072998.

Thanks for the patch.

> CxfConsumer creates Continuation even when Endpoint is configured as synchronous.
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-3694
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3694
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 2.6.0
>            Reporter: Arnoud Glimmerveen
>            Assignee: Claus Ibsen
>             Fix For: 2.7.0
>
>         Attachments: CxfConsumer.java.patch
>
>
> I am trying to get the camel-example-cxf-tomcat example running in a Servlet 3.0 container (Tomcat 7 and GlassFish v3). The example does not work directly on these platforms, as they require the CXFServlet async-supported property to be set to true (due to CxfEndpoint by default wanting to use the async API). 
> I expected that when I configure the CxfEndpoint to be synchronous, that I do not need to modify the async-supported property of CXFServlet in the web.xml. However the "Continuation" used for async invocation is created before the synchronous property of the CxfEndpoint is evaluated, effectively requiring the async-supported to be true anyway.
> If my assumption that setting synchronous property on the CxfEndpoint should be sufficient, I propose to modify CxfConsumer (that creates the Continuation) to ensure the synchronous property is evaluated before any Continuation is created.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira