Hi,
I tried to use the XPATH tokenize function in my camel workflow, but it does
not work.
Here is a piece of the code :
from("direct:getEquipmentsState")
.splitter(new EquipmentStateAgregator(), true).xpath("//equipment")
.setProperty("equipmentIp").xpath("tokenize(equipment/equipmentID/text(),'_')[1]",
String.class)
.to("log:body?showProperties=true")
.end()
.to("bean:diagnosticBean?method=buildResponse");
And when sending my xml message to this endpoint I have the following error
:
javax.xml.transform.TransformerException: Cannot find the function :
tokenize
Is there a way to use it inside a camel xpath function?
Thanks for your help
Regards
William
--
View this message in context:
http://www.nabble.com/using-xpath-tokenize-function-inside-camel-tp24659816p24659816.html
Sent from the Camel - Users mailing list archive at Nabble.com.