camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CAMEL-3694) CxfConsumer creates Continuation even when Endpoint is configured as synchronous.
Date Mon, 21 Feb 2011 14:53:38 GMT

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

Claus Ibsen reassigned CAMEL-3694:
----------------------------------

    Assignee: Claus Ibsen

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

        

Mime
View raw message