public class DefaultTraceInterceptorFactory extends Object implements TraceInterceptorFactory
| Constructor and Description |
|---|
DefaultTraceInterceptorFactory() |
| Modifier and Type | Method and Description |
|---|---|
Processor |
createTraceInterceptor(ProcessorDefinition<?> node,
Processor target,
TraceFormatter formatter,
Tracer tracer)
Create a trace interceptor.
|
public DefaultTraceInterceptorFactory()
public Processor createTraceInterceptor(ProcessorDefinition<?> node, Processor target, TraceFormatter formatter, Tracer tracer)
TraceInterceptorFactoryTraceInterceptor,
however any Processor will suffice.
Use this factory to take more control of how trace events are persisted.createTraceInterceptor in interface TraceInterceptorFactorynode - the current nodetarget - the current targetformatter - the trace formattertracer - the tracerApache Camel