org.apache.camel.processor.interceptor
Interface TraceFormatter
- All Known Implementing Classes:
- DefaultTraceFormatter
public interface TraceFormatter
Formatter to format trace logs when tracing Exchange
during routing.
format
Object format(TraceInterceptor interceptor,
ProcessorDefinition<?> node,
Exchange exchange)
- Formats a log message at given point of interception.
- Parameters:
interceptor
- the tracing interceptornode
- the node where the interception occurredexchange
- the current exchange
- Returns:
- the log message
Apache CAMEL