Class LogSpanDecorator
java.lang.Object
org.apache.camel.tracing.decorators.AbstractSpanDecorator
org.apache.camel.tracing.decorators.LogSpanDecorator
- All Implemented Interfaces:
SpanDecorator
-
Field Summary
Fields inherited from interface org.apache.camel.tracing.SpanDecorator
CAMEL_COMPONENT, DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe camel component name associated with the decorator.The camel component FQN classname associated with the decorator.booleannewSpan()This method indicates whether the component associated with the SpanDecorator should result in a new span being created.Methods inherited from class org.apache.camel.tracing.decorators.AbstractSpanDecorator
getExtractAdapter, getInitiatorSpanKind, getInjectAdapter, getOperationName, getReceiverSpanKind, post, pre, stripSchemeAndOptions, stripSchemeAndOptions, toQueryParameters
-
Constructor Details
-
LogSpanDecorator
public LogSpanDecorator()
-
-
Method Details
-
getComponent
Description copied from interface:SpanDecoratorThe camel component name associated with the decorator.- Returns:
- The camel component name
-
getComponentClassName
Description copied from interface:SpanDecoratorThe camel component FQN classname associated with the decorator.- Returns:
- The camel component FQN classname
-
newSpan
public boolean newSpan()Description copied from interface:SpanDecoratorThis method indicates whether the component associated with the SpanDecorator should result in a new span being created.- Specified by:
newSpanin interfaceSpanDecorator- Overrides:
newSpanin classAbstractSpanDecorator- Returns:
- Whether a new span should be created
-