The input looks like below,

<book author="ABC" type="Children">
    <id>123</id>
    <name>XYZ</name>
</book>
I have set the above in property in an xml route as:

<camel:setProperty propertyName="REQUEST">
    <camel:xpath>/node()</camel:xpath>
</camel:setProperty>

Then I do some other processing and based on the new response. I want to
extract the value of an author(i.e. ABC) from this Property and compare it
with a element's text string from the response.

I tried a few ways using camel:xpath and camel:simple but am not able to
extract the value from property.

What is the correct way to extract this property?



-----
Satyam
--
View this message in context: 
http://camel.465427.n5.nabble.com/Extract-the-value-from-property-tp5749428.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to