Class PahoSpanDecorator
java.lang.Object
org.apache.camel.tracing.decorators.AbstractSpanDecorator
org.apache.camel.tracing.decorators.AbstractMessagingSpanDecorator
org.apache.camel.tracing.decorators.PahoSpanDecorator
- All Implemented Interfaces:
SpanDecorator
-
Field Summary
Fields inherited from class org.apache.camel.tracing.decorators.AbstractMessagingSpanDecorator
MESSAGE_BUS_IDFields 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 StringgetDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) This method identifies the destination from the supplied exchange and/or endpoint.Methods inherited from class org.apache.camel.tracing.decorators.AbstractMessagingSpanDecorator
getExtractAdapter, getInitiatorSpanKind, getInjectAdapter, getMessageId, getOperationName, getReceiverSpanKind, preMethods inherited from class org.apache.camel.tracing.decorators.AbstractSpanDecorator
newSpan, post, stripSchemeAndOptions, toQueryParameters
-
Constructor Details
-
PahoSpanDecorator
public PahoSpanDecorator()
-
-
Method Details
-
getComponent
Description copied from interface:SpanDecoratorThe camel component name associated with the decorator.- Returns:
- The camel component name
-
getDestination
protected String getDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) Description copied from class:AbstractMessagingSpanDecoratorThis method identifies the destination from the supplied exchange and/or endpoint.- Overrides:
getDestinationin classAbstractMessagingSpanDecorator- Parameters:
exchange- The exchangeendpoint- The endpoint- Returns:
- The message bus destination
-
getComponentClassName
Description copied from interface:SpanDecoratorThe camel component FQN classname associated with the decorator.- Returns:
- The camel component FQN classname
-