On Thu, Oct 20, 2011 at 2:59 PM, Mond Raymond <[email protected]> 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: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
