Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 11559 invoked from network); 29 Mar 2010 11:27:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Mar 2010 11:27:32 -0000 Received: (qmail 75985 invoked by uid 500); 29 Mar 2010 11:27:32 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 75908 invoked by uid 500); 29 Mar 2010 11:27:32 -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 75900 invoked by uid 500); 29 Mar 2010 11:27:32 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 75897 invoked by uid 99); 29 Mar 2010 11:27:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 11:27:32 +0000 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; Mon, 29 Mar 2010 11:27:29 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A37BA234C4A8 for ; Mon, 29 Mar 2010 11:27:08 +0000 (UTC) Message-ID: <1435982954.5601269862028666.JavaMail.jira@brutus.apache.org> Date: Mon, 29 Mar 2010 11:27:08 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-2239) Cannot determine specific JmsMessage type to use from body class In-Reply-To: <1755429752.1259582512696.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-2239. -------------------------------- Resolution: Cannot Reproduce Create a new ticket in the future if this is still a problem after 2.3 has been released. > Cannot determine specific JmsMessage type to use from body class > ---------------------------------------------------------------- > > Key: CAMEL-2239 > URL: https://issues.apache.org/activemq/browse/CAMEL-2239 > Project: Apache Camel > Issue Type: Bug > Components: camel-cxf > Affects Versions: 2.1.0 > Reporter: Charles Moulliard > Assignee: Willem Jiang > Fix For: 2.3.0 > > > Error : Cannot determine specific JmsMessage type to use from body class. Will use generic JmsMessage. Body class: org.apache.cxf.jaxrs.impl.ResponseImpl. If you want to send a POJO then your class might need to implement java.io.Serializable, or you can force a specific type by setting the jmsMessageType option on the JMS endpoint > is reported with the following camel routing > {code} > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" > xmlns:camel="http://camel.apache.org/schema/spring" xmlns:cxf="http://camel.apache.org/schema/cxf" > xmlns:cxf-core="http://cxf.apache.org/core" xmlns:jaxrs="http://cxf.apache.org/jaxrs" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > http://www.springframework.org/schema/context > http://www.springframework.org/schema/context/spring-context.xsd > http://camel.apache.org/schema/osgi > http://camel.apache.org/schema/osgi/camel-osgi.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd > http://camel.apache.org/schema/cxf > http://camel.apache.org/schema/cxf/camel-cxf.xsd > http://cxf.apache.org/jaxrs > http://cxf.apache.org/schemas/jaxrs.xsd > http://cxf.apache.org/core > http://cxf.apache.org/schemas/core.xsd"> > > > > > > > > > > > > > > > staticSubresourceResolution="true"> > > > > > > > > serviceClass="org.apache.camel.example.reportincident.restful.ReportIncidentService" /> > > xmlns="http://camel.apache.org/schema/osgi"> > > > > > > > > > > > > > > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.