I implemented my own tracer formatter but I have the same problem:

Tracer tracer = new Tracer();
tracer.setFormatter(new CustomMessageFormatter());
....

public class CustomMessageFormatter implements TraceFormatter {
@Override
public Object format(TraceInterceptor interceptor,
        ProcessorDefinition<?> node, Exchange exchange) {
        return "example";
}

I think the probleme is in the DefaultTraceEventMessage.class.
Like we can see in the trace, the constructor call:
this.body = MessageHelper.extractBodyAsString(in)
and that is the problem...



--
View this message in context: 
http://camel.465427.n5.nabble.com/Java-heap-space-with-FILE-producer-and-larges-files-tp5749845p5750116.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to