Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 1200 invoked from network); 3 Mar 2009 16:35:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 16:35:18 -0000 Received: (qmail 76100 invoked by uid 500); 3 Mar 2009 16:35:17 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 76080 invoked by uid 500); 3 Mar 2009 16:35:17 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 76069 invoked by uid 99); 3 Mar 2009 16:35:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 08:35:17 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 16:35:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LeXZv-0002xX-4k for users@camel.apache.org; Tue, 03 Mar 2009 08:34:47 -0800 Message-ID: <22312331.post@talk.nabble.com> Date: Tue, 3 Mar 2009 08:34:47 -0800 (PST) From: cmoulliard To: users@camel.apache.org Subject: convertBodyTo - spring DSL generates error in camel 2.0 snapshot MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cmoulliard@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, The following syntax in my spring DSL generates an error : Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'convertBodyTo'. One of '{"http://camel.apache.org/schema/spring":from, "http://camel.apache.org/schema/spring":aggregate, "http://camel.apache.org/schema/spring":bean, "http://camel.apache.org/schema/spring":catch, "http://camel.apache.org/schema/spring":choice, "http://camel.apache.org/schema/spring":when, "http://camel.apache.org/schema/spring":otherwise, "http://camel.apache.org/schema/spring":convertBodyTo, "http://camel.apache.org/schema/spring":delay, "http://camel.apache.org/schema/spring":enrich, "http://camel.apache.org/schema/spring":onException, "http://camel.apache.org/schema/spring":filter, "http://camel.apache.org/schema/spring":finally, "http://camel.apache.org/schema/spring":handleFault, "http://camel.apache.org/schema/spring":interceptor, "http://camel.apache.org/schema/spring":idempotentConsumer, "http://camel.apache.org/schema/spring":inOnly, "http://camel.apache.org/schema/spring":inOut, "http://camel.apache.org/schema/spring":intercept, "http://camel.apache.org/schema/spring":loadBalance, "http://camel.apache.org/schema/spring":loop, "http://camel.apache.org/schema/spring":marshal, "http://camel.apache.org/schema/spring":multicast, "http://camel.apache.org/schema/spring":pipeline, "http://camel.apache.org/schema/spring":policy, "http://camel.apache.org/schema/spring":proceed, "http://camel.apache.org/schema/spring":process, "http://camel.apache.org/schema/spring":recipientList, "http://camel.apache.org/schema/spring":removeHeader, "http://camel.apache.org/schema/spring":removeProperty, "http://camel.apache.org/schema/spring":resequence, "http://camel.apache.org/schema/spring":route, "http://camel.apache.org/schema/spring":routingSlip, "http://camel.apache.org/schema/spring":setBody, "http://camel.apache.org/schema/spring":setExchangePattern, "http://camel.apache.org/schema/spring":setHeader, "http://camel.apache.org/schema/spring":setOutHeader, "http://camel.apache.org/schema/spring":setProperty, "http://camel.apache.org/schema/spring":sort, "http://camel.apache.org/schema/spring":split, "http://camel.apache.org/schema/spring":stop, "http://camel.apache.org/schema/spring":thread, "http://camel.apache.org/schema/spring":throttle, "http://camel.apache.org/schema/spring":throwFault, "http://camel.apache.org/schema/spring":to, "http://camel.apache.org/schema/spring":transform, "http://camel.apache.org/schema/spring":try, "http://camel.apache.org/schema/spring":unmarshal}' is expected. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) Here is the dsl : org.apache.camel.example.reportincident.routing Regards, ----- Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ -- View this message in context: http://www.nabble.com/convertBodyTo---spring-DSL-generates-error-in-camel-2.0-snapshot-tp22312331p22312331.html Sent from the Camel - Users mailing list archive at Nabble.com.