camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen">
Subject RE: camel splitter component.
Date Wed, 06 Aug 2008 12:38:19 GMT

What version of Camel are you using? I recall something about a missing type convert in older
versions (could be camel 1.3).

Med venlig hilsen
Claus Ibsen
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576

-----Original Message-----
From: Lynch, Francis [] 
Sent: 6. august 2008 14:37
Subject: camel splitter component.

Hi Folks,
I'm trying to split an xml document using an xpath expression. Its failing with an InvalidPayloadException[1].
I'm using a camel route like the following:


I've included a sample of the source xml below[2]. I've also tried /foosource/Row1, xpathbuilders
etc but to no avail.
I suspect that I'm missing something simple here. Can someone point me in the right direction?
Thanks in advance.

caught: org.apache.camel.InvalidPayloadException: No in body available of type:
but has value: [Row1: null] of type: org.apache.xerces.dom.DeferredElementNSImpl on: Message:
[Row1: null] on the exchange: Exchange[Message: [Row1: null]]

<?xml version="1.0" encoding="UTF-8"?>
        <Name>Joe Bloggs</Name>
        <Name>Billy Burgeos</Name>
        <Name>Ronald McDonald</Name>

View raw message