org.apache.camel.processor.interceptor
Interface TraceInterceptorFactory
- All Known Implementing Classes:
- DefaultTraceInterceptorFactory
public interface TraceInterceptorFactory
Factory to create the trace interceptor.
createTraceInterceptor
Processor createTraceInterceptor(ProcessorDefinition<?> node,
Processor target,
TraceFormatter formatter,
Tracer tracer)
- Create a trace interceptor.
It is expected that the factory will create a subclass of
TraceInterceptor
,
however any Processor will suffice.
Use this factory to take more control of how trace events are persisted.
- Parameters:
node
- the current nodetarget
- the current targetformatter
- the trace formattertracer
- the tracer
- Returns:
- the created trace interceptor
Apache CAMEL