camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: tracing large messages
Date Thu, 20 Oct 2011 13:07:20 GMT
On Thu, Oct 20, 2011 at 2:59 PM, Mond Raymond <mondraymond@gmail.com> wrote:
> I had a user today that had camel blow up because he was sending a message
> body of 96Mb and had the tracer on.  By default the tracer outputs bodies so
> he ran out of memory ;-)
>
> Quite an easy fix to configure a formatter and turn off the printing of
> message bodies... but it made me think, shouldn't there be a limit (10k,
> 100k or whatever) which is the default beyond which bodies will not be
> printed, unless configured explicitly ... this would prevent users shooting
> off their feet.
>

But yeah maybe the maxChars default should be 10000 or something.
People can then use -1 or 0 for no limit.
Fell free to create a JIRA. And also work on a patch :)


> Thoughts?
>
> Cheers
>
> Ray
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/tracing-large-messages-tp4921360p4921360.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message