Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F8BDE27D for ; Thu, 29 Nov 2012 11:08:59 +0000 (UTC) Received: (qmail 45771 invoked by uid 500); 29 Nov 2012 11:08:59 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 45749 invoked by uid 500); 29 Nov 2012 11:08:58 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 45736 invoked by uid 99); 29 Nov 2012 11:08:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 11:08:58 +0000 Date: Thu, 29 Nov 2012 11:08:58 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: <516425955.39497.1354187338762.JavaMail.jiratomcat@arcas> In-Reply-To: <517633985.22667.1353933298641.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CAMEL-5823) CxfConsumer should not populate the cxf response with the original input message if the cxfExchange is oneway MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-5823. -------------------------------- Resolution: Fixed Fix Version/s: 2.11.0 2.10.3 2.9.5 > CxfConsumer should not populate the cxf response with the original input message if the cxfExchange is oneway > ------------------------------------------------------------------------------------------------------------- > > Key: CAMEL-5823 > URL: https://issues.apache.org/jira/browse/CAMEL-5823 > Project: Camel > Issue Type: Bug > Components: camel-cxf > Affects Versions: 2.10.2 > Reporter: Aki Yoshida > Assignee: Willem Jiang > Fix For: 2.9.5, 2.10.3, 2.11.0 > > Attachments: camel-cxf-oneway-route-20121126.patch > > > When you have a camel route from a CXF oneway endpoint to some endpoint, cxfConsumer currently uses the input message to fill the cxf's response message at the cxf endpoint. This can lead to a problem in CXF as there can be an exception raised during this step. > To avoid this issue, I think we should not fill the cxf response if the cxf's exchange is set to oneway. > I have attached a test case and a possible fix for this issue. > There is also one question regarding this part of the processing in CxfConsumer. I noticed that there are no exception handling in that part in camel and therefore the exception is not visible in camel. I was not sure if this was intentional or if we should be setting the exception to camel's exchange in that case so that this exception is also picked up by camel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira