Naveen
You can access specific exchange property like this in the log expression :
${property.CamelCreatedTimestamp} but currently ${properties} does not evaluate
to any expression for simple language.
Clause, ExpressionBuilder already has a function but it is not used to build
functions after parsing the string. Will it be good idea to add "properties"
support to simple so that all exchange properties can be logged ?
// something like...
if ("properties".equals(function)) {
return ExpressionBuilder.propertiesExpression();
}
-Ravi
-----Original Message-----
From: Naveen Raj [mailto:[email protected]]
Sent: Sunday, July 20, 2014 5:37 PM
To: [email protected]
Subject: How to get all the properties in the exchange in spring configuration
Hi,
In the spring configuration we use ${headers} in log to print all the
headers in the exchange. Is there a similar way for printing all the properties
in the log.
Thanks,
Naveen Raj
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-get-all-the-properties-in-the-exchange-in-spring-configuration-tp5754103.html
Sent from the Camel - Users mailing list archive at Nabble.com.
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient(s), please reply to the sender and
destroy all copies of the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email,
and/or any action taken in reliance on the contents of this e-mail is strictly
prohibited and may be unlawful. Where permitted by applicable law, this e-mail
and other e-mail communications sent to and from Cognizant e-mail addresses may
be monitored.