camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Wolf <cwolf.a...@gmail.com>
Subject Re: Is there a DataFormat to convert XML string to XML Document?
Date Sat, 30 Mar 2013 21:41:18 GMT
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 <raul@evosent.com> wrote:
> .convertBodyTo(Document.class)
>
> Leverages a feature of Camel called Type Conversion.
>
> Raúl.
>
> Sent while on the move
> On 29 Mar 2013 22:40, "Chris Wolf" <cwolf.algo@gmail.com> 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
>>

Mime
View raw message