The doc on the Tracer page needs to be updated. In the section "Using Destination for custom processing and routing", it states that "the original Exchange can be accessed using getTracedExchange()". This does not work and according to this http://camel.465427.n5.nabble.com/svn-commit-r791077-in-camel-trunk-camel-core-src-main-java-org-apache-camel-camel-core-src-main-java-td507632.html, hasn't worked since 2009.
Apparently, the TraceEventExchange object has been gotten rid of. Access in your custom trace processor is via: public void process(Exchange exchange) throws Exception { // get the real exchange java.util.concurrent.ConcurrentHashMap hm = (ConcurrentHashMap) exchange.getProperties(); Exchange ex = (Exchange) hm.get(Exchange.TRACE_EVENT_EXCHANGE); -- View this message in context: http://camel.465427.n5.nabble.com/Error-on-Tracer-HTML-page-tp5729357.html Sent from the Camel - Users mailing list archive at Nabble.com.