use of org.apache.camel.impl.OnCompletionRouteNode in project camel by apache.
the class TraceInterceptor method traceOnCompletion.
private void traceOnCompletion(TracedRouteNodes traced, Exchange exchange) {
traced.addTraced(new OnCompletionRouteNode());
// do not log and trace as onCompletion should be a new event on its own
// add the next step as well so we have onCompletion -> new step
traced.addTraced(new DefaultRouteNode(node, super.getProcessor()));
}
Aggregations