camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ychawla <premiergenerat...@yahoo.com>
Subject Camel log - part of body
Date Tue, 21 Feb 2012 16:16:45 GMT
Hello All,
In my camel routes, I use the log component quite a bit.  For example:

<camel:log message="This is the body: ${body}"/>

Is there a way with the simple language to only print out the first 100
characters or so of the body?  I have some large XML file coming through
that are really clogging up my logs.

Thanks,
Yogesh

--
View this message in context: http://camel.465427.n5.nabble.com/Camel-log-part-of-body-tp5502660p5502660.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message