You can use camel xpath: http://camel.apache.org/xpath.html to extract
whichever element you want and log that. You can also look here for an
example:

http://stackoverflow.com/questions/22870755/camel-using-xpath-to-parse-xml-in-message-body



--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-XML-elements-from-the-body-in-the-log-method-tp5783973p5783993.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to