I have a processor which handles exchanges fed through a deadLetterChannel
i.e.

// ErrorProcessor
class ErrorProcessor implements Processor {
    public void process(Exchange exchange) throws Exception {
            Exception exception = (Exception)
exchange.getProperty(Exchange.EXCEPTION_CAUGHT);
                ...
    }
}

An exchange is fed here after an Exception. From this I can extract the
Exception information (above).

Is it also possible to also get a trace breadcrumb as well at this point?

I had a look and followed the example here (bottom of page) but could not
see anything:

        http://camel.apache.org/tracer.html

My aim is to be able to send off an email with the stack trace and the trace
breadcrumb.
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Getting-extended-camel-trace-information-during-Java-runtime-tp3328734p3328734.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to