protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
// START SNIPPET: tracingOutExchanges
Tracer tracer = new Tracer();
tracer.setTraceOutExchanges(true);
tracer.getFormatter().setShowOutBody(true);
tracer.getFormatter().setShowOutBodyType(true);
getContext().addInterceptStrategy(tracer);
// END SNIPPET: tracingOutExchanges
from("direct:start").