Class AzureServiceBusSpanDecorator
java.lang.Object
org.apache.camel.tracing.decorators.AbstractSpanDecorator
org.apache.camel.tracing.decorators.AbstractMessagingSpanDecorator
org.apache.camel.tracing.decorators.AzureServiceBusSpanDecorator
- 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.protected StringgetMessageId(org.apache.camel.Exchange exchange) This method identifies the message id for the messaging exchange.voidpre(SpanAdapter span, org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) This method adds appropriate details (tags/logs) to the supplied span based on the pre-processing of the exchange.Methods inherited from class org.apache.camel.tracing.decorators.AbstractMessagingSpanDecorator
getDestination, getExtractAdapter, getInitiatorSpanKind, getInjectAdapter, getOperationName, getReceiverSpanKindMethods inherited from class org.apache.camel.tracing.decorators.AbstractSpanDecorator
newSpan, post, stripSchemeAndOptions, stripSchemeAndOptions, toQueryParameters
-
Constructor Details
-
AzureServiceBusSpanDecorator
public AzureServiceBusSpanDecorator()
-
-
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
-
pre
public void pre(SpanAdapter span, org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) Description copied from interface:SpanDecoratorThis method adds appropriate details (tags/logs) to the supplied span based on the pre-processing of the exchange.- Specified by:
prein interfaceSpanDecorator- Overrides:
prein classAbstractMessagingSpanDecorator- Parameters:
span- The spanexchange- The exchangeendpoint- The endpoint
-
getMessageId
Description copied from class:AbstractMessagingSpanDecoratorThis method identifies the message id for the messaging exchange.- Overrides:
getMessageIdin classAbstractMessagingSpanDecorator- Returns:
- The message id, or null if no id exists for the exchange
-