Search in sources :

Example 1 with OnCompletionRouteNode

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()));
}
Also used : OnCompletionRouteNode(org.apache.camel.impl.OnCompletionRouteNode) DefaultRouteNode(org.apache.camel.impl.DefaultRouteNode)

Aggregations

DefaultRouteNode (org.apache.camel.impl.DefaultRouteNode)1 OnCompletionRouteNode (org.apache.camel.impl.OnCompletionRouteNode)1