camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anilc7 <>
Subject Using XML elements from the body in the log method
Date Mon, 13 Jun 2016 14:16:09 GMT

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:

   .log("Processing started")
   .log("Processing finished");



View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message