Class AbstractInternalSpanDecorator
java.lang.Object
org.apache.camel.tracing.decorators.AbstractSpanDecorator
org.apache.camel.tracing.decorators.AbstractInternalSpanDecorator
- All Implemented Interfaces:
SpanDecorator
- Direct Known Subclasses:
DirectSpanDecorator,DisruptorSpanDecorator,DisruptorvmSpanDecorator,SedaSpanDecorator
-
Field Summary
Fields inherited from interface org.apache.camel.tracing.SpanDecorator
CAMEL_COMPONENT, DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOperationName(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) This method returns the operation name to use with the Span representing this exchange and endpoint.Methods inherited from class org.apache.camel.tracing.decorators.AbstractSpanDecorator
getExtractAdapter, getInitiatorSpanKind, getInjectAdapter, getReceiverSpanKind, newSpan, post, pre, stripSchemeAndOptions, toQueryParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.tracing.SpanDecorator
getComponent, getComponentClassName
-
Constructor Details
-
AbstractInternalSpanDecorator
public AbstractInternalSpanDecorator()
-
-
Method Details
-
getOperationName
public String getOperationName(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) Description copied from interface:SpanDecoratorThis method returns the operation name to use with the Span representing this exchange and endpoint.- Specified by:
getOperationNamein interfaceSpanDecorator- Overrides:
getOperationNamein classAbstractSpanDecorator- Parameters:
exchange- The exchangeendpoint- The endpoint- Returns:
- The operation name
-