// add the next step as well so we have onCompletion -> new step
traced.addTraced(new DefaultRouteNode(node, super.getProcessor()));
}
private void traceOnException(TracedRouteNodes traced, Exchange exchange) throws Exception {
traced.addTraced(new DefaultRouteNode(traced.getLastNode().getProcessorDefinition(), traced.getLastNode().getProcessor()));
traced.addTraced(new OnExceptionRouteNode());
// log and trace so we have the from -> onException event as well
logExchange(exchange);
traceExchange(exchange);
traced.addTraced(new DefaultRouteNode(node, super.getProcessor()));
}