Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 86434 invoked from network); 21 Feb 2011 14:52:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Feb 2011 14:52:05 -0000 Received: (qmail 34764 invoked by uid 500); 21 Feb 2011 14:52:05 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 34344 invoked by uid 500); 21 Feb 2011 14:52:02 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 34327 invoked by uid 99); 21 Feb 2011 14:52:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Feb 2011 14:52:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Feb 2011 14:52:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 16AC01B0B4C for ; Mon, 21 Feb 2011 14:51:39 +0000 (UTC) Date: Mon, 21 Feb 2011 14:51:39 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@camel.apache.org Message-ID: <977103021.5905.1298299899089.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1076832770.5891.1298299659174.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (CAMEL-3694) CxfConsumer creates Continuation even when Endpoint is configured as synchronous. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997430#comment-12997430 ] Claus Ibsen commented on CAMEL-3694: ------------------------------------ Thanks for the patch. We should get it into the trunk. > 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 > 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