Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AF89AF372 for ; Sat, 30 Mar 2013 21:41:45 +0000 (UTC) Received: (qmail 58970 invoked by uid 500); 30 Mar 2013 21:41:45 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 58939 invoked by uid 500); 30 Mar 2013 21:41:45 -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 58931 invoked by uid 99); 30 Mar 2013 21:41:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Mar 2013 21:41:45 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cwolf.algo@gmail.com designates 209.85.128.181 as permitted sender) Received: from [209.85.128.181] (HELO mail-ve0-f181.google.com) (209.85.128.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Mar 2013 21:41:39 +0000 Received: by mail-ve0-f181.google.com with SMTP id pa12so1481079veb.40 for ; Sat, 30 Mar 2013 14:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=89BS6IavoqPag9JwrDoQlHP5mOEbe/K8vdcqC8JsB1w=; b=PMCqOIBOHlexJqMvNHbUz+y+Fo6PyMmeb06ciKdx4oq6Gj4879WMZemmal7hgO0Wob 8WGw1Y3nb3WoWYw2iK8gOMHQsFL32sYtLl7mZddr3sfX4wkUAmWy9+oNqFFk1vyUCP8M aeI5guj+T79bm7BYVzE7vC/AoxgVmcAo8tJXe6QXbFzVB0qqVdqeGDt38cbauEPKdWts KpokHv38QAHm3TdvKKePV0CSmoP0lTcRvEKXzdQzBKEzIeL9AkYBI0PdJ8a9EXYlnSmV mQ2wnwNEE8YbjKAxjwhdQGX9JNCLuYOIJofM2KmeDn1nE6egTXVr4rZD9nYLIe7v1Vy0 Qs9g== MIME-Version: 1.0 X-Received: by 10.52.20.78 with SMTP id l14mr1466064vde.13.1364679678852; Sat, 30 Mar 2013 14:41:18 -0700 (PDT) Received: by 10.58.207.39 with HTTP; Sat, 30 Mar 2013 14:41:18 -0700 (PDT) In-Reply-To: References: Date: Sat, 30 Mar 2013 17:41:18 -0400 Message-ID: Subject: Re: Is there a DataFormat to convert XML string to XML Document? From: Chris Wolf To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thanks - that's exactly what I needed. Although I'm wondering when you would select .convertBodyTo(Class) vs. a DataFormat? Thanks again, Chris On Fri, Mar 29, 2013 at 8:38 PM, Raul Kripalani wrote: > .convertBodyTo(Document.class) > > Leverages a feature of Camel called Type Conversion. > > Ra=FAl. > > Sent while on the move > On 29 Mar 2013 22:40, "Chris Wolf" wrote: > >> I don't see any listed here: >> >> http://camel.apache.org/data-format.html >> >> ...but I find it hard to believe there isn't a way to convert a string >> to XML without creating a custom processor to parse string data from a >> web service. >> >> Thanks, >> >> Chris >>