Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 6813 invoked from network); 15 Jul 2008 06:30:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 06:30:51 -0000 Received: (qmail 56069 invoked by uid 500); 15 Jul 2008 06:30:51 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 55996 invoked by uid 500); 15 Jul 2008 06:30:51 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 55985 invoked by uid 99); 15 Jul 2008 06:30:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 23:30:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 06:30:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A22D1234C16B for ; Mon, 14 Jul 2008 23:30:00 -0700 (PDT) Message-ID: <507589460.1216103400663.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 23:30:00 -0700 (PDT) From: "Freeman Fang (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-719) CxfBinding will never run into the code in case the messasge body is List.class In-Reply-To: <268430488.1216094880278.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Freeman Fang resolved CAMEL-719. -------------------------------- Resolution: Fixed thanks Willem > CxfBinding will never run into the code in case the messasge body is List.class > ------------------------------------------------------------------------------- > > Key: CAMEL-719 > URL: https://issues.apache.org/activemq/browse/CAMEL-719 > Project: Apache Camel > Issue Type: Bug > Components: camel-cxf > Reporter: Freeman Fang > Assignee: Willem Jiang > Fix For: 1.4.0 > > Attachments: CAMEL-719.patch > > > since CAMEL-709 add getBody method to CxfMessage, so the code in CxfBinding.createCxfMessage() > Object body = in.getBody(InputStream.class); will never always return InputStream object, which means the code will never run into the case that the message body is List.class, but it will break the logic when the MESSAGEFORMAT is POJO for camel-cxf, so we need try to getBody(List.class) firstly to fix it -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.