Re: Is there a DataFormat to convert XML string to XML Document?

2013-03-30 Thread Chris Wolf
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úl.
>
> 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
>>


Re: Is there a DataFormat to convert XML string to XML Document?

2013-03-29 Thread Raul Kripalani
.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"  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
>


Is there a DataFormat to convert XML string to XML Document?

2013-03-29 Thread Chris Wolf
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