Hi,

I have a simple route as shown below. The body is an XML message and I would
like to access couple of elements from this XML and use them in both the log
entries. Is there any way to access this using xpath/xquery or any other way
within the log method? I would like to access them directly here in the
route rather than calling a different bean if possible:

from("jms:queue:test.queue")
   .log("Processing started")
   .to("jms:topic:test.topic")
   .log("Processing finished");

Cheers.

Anil



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

Reply via email to