Interface Traceable
public interface Traceable
Implemented by
Processors that want to expose a human-readable label used by the Camel tracing infrastructure
to identify them in trace output and log messages.
When the backlog tracer or message-history feature is active, Camel calls getTraceLabel() on each processor
to build a concise, path-style identifier such as log:myLogger or to:direct:next. The label is also
shown in the startup route summary and in JMX management output.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the trace label used for logging when tracing is enabled.
-
Method Details
-
getTraceLabel
String getTraceLabel()Gets the trace label used for logging when tracing is enabled. The label should be short and precise.- Returns:
- the label
-