Hi Which version of SMX / Camel are you using?
On Fri, Oct 14, 2011 at 4:47 PM, metatech <[email protected]> wrote: > Hello, > > When the attribute trace="true" is enabled on the camelContext, the message > processing time is hundred times longer (typically several seconds to > minutes). > When the message is larger than 64KB, the message is stored on the disk by > CachedOutputStream. > A thread dump shows that the DefaultTraceFormatter is called, in which the > IOConverter.toString is called. > The "truss" output shows that the file is read back 1 byte at a time, which > makes the calls very slow. > When the trace=false is used, the file is read back 8192 bytes at a time. > A first workaround (setting property "CamelCachedOutputStreamThreshold" to > 10000000) helped a little, but not much. > For large messages or performance tests, obviously trace must be disabled on > the route. > > Regards, > metatech > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/DefaultTraceFormatter-is-very-slow-for-messages-64KB-tp4902840p4902840.html > Sent from the ServiceMix - User 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/
