camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sekaijin <jean-yves.terr...@sap.aphp.fr>
Subject Java DSl XPATH text node
Date Wed, 17 Dec 2014 16:26:18 GMT
Hi
I'm using Xpath to get an header.
My XML message

My Route Builder

When I test the XPath expression I get
ID Système:
D:\Travail\logistique\ng446\ng446-phedra-transfo\data\NG44601.SPE.047.20120101-120425.xml
Description: /reservation[1]/entete[1]/codeLivraison[1] - 12235
But in camel the header containt a
com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList Object

I've tried to use String.class argument to convert it in string but I get an
empty string.

Thank to help me
I'm running camel 2.8.1






--
View this message in context: http://camel.465427.n5.nabble.com/Java-DSl-XPATH-text-node-tp5760835.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message