Class StompSpanDecorator
- java.lang.Object
-
- org.apache.camel.tracing.decorators.AbstractSpanDecorator
-
- org.apache.camel.tracing.decorators.AbstractMessagingSpanDecorator
-
- org.apache.camel.tracing.decorators.StompSpanDecorator
-
- All Implemented Interfaces:
SpanDecorator
public class StompSpanDecorator extends AbstractMessagingSpanDecorator
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
QUEUE_PREFIX
-
Fields inherited from class org.apache.camel.tracing.decorators.AbstractMessagingSpanDecorator
MESSAGE_BUS_ID
-
Fields inherited from interface org.apache.camel.tracing.SpanDecorator
CAMEL_COMPONENT, DEFAULT
-
-
Constructor Summary
Constructors Constructor Description StompSpanDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getComponent()
The camel component name associated with the decorator.String
getComponentClassName()
The camel component FQN classname associated with the decorator.String
getDestination(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, pre
-
Methods inherited from class org.apache.camel.tracing.decorators.AbstractSpanDecorator
newSpan, post, stripSchemeAndOptions, toQueryParameters
-
-
-
-
Field Detail
-
QUEUE_PREFIX
protected static final String QUEUE_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getComponent
public String getComponent()
Description copied from interface:SpanDecorator
The camel component name associated with the decorator.- Returns:
- The camel component name
-
getComponentClassName
public String getComponentClassName()
Description copied from interface:SpanDecorator
The camel component FQN classname associated with the decorator.- Returns:
- The camel component FQN classname
-
getDestination
public String getDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)
Description copied from class:AbstractMessagingSpanDecorator
This method identifies the destination from the supplied exchange and/or endpoint.- Overrides:
getDestination
in classAbstractMessagingSpanDecorator
- Parameters:
exchange
- The exchangeendpoint
- The endpoint- Returns:
- The message bus destination
-
-