Class AwsSqsSpanDecorator
- java.lang.Object
-
- org.apache.camel.tracing.decorators.AbstractSpanDecorator
-
- org.apache.camel.tracing.decorators.AbstractMessagingSpanDecorator
-
- org.apache.camel.tracing.decorators.AwsSqsSpanDecorator
-
- All Implemented Interfaces:
SpanDecorator
public class AwsSqsSpanDecorator extends AbstractMessagingSpanDecorator
-
-
Field Summary
Fields Modifier and Type Field Description static String
CAMEL_AWS_SQS_MESSAGE_ID
-
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 AwsSqsSpanDecorator()
-
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.protected String
getMessageId(org.apache.camel.Exchange exchange)
This method identifies the message id for the messaging exchange.-
Methods inherited from class org.apache.camel.tracing.decorators.AbstractMessagingSpanDecorator
getDestination, getExtractAdapter, getInitiatorSpanKind, getInjectAdapter, getOperationName, getReceiverSpanKind, pre
-
Methods inherited from class org.apache.camel.tracing.decorators.AbstractSpanDecorator
newSpan, post, stripSchemeAndOptions, toQueryParameters
-
-
-
-
Field Detail
-
CAMEL_AWS_SQS_MESSAGE_ID
public static final String CAMEL_AWS_SQS_MESSAGE_ID
- 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
-
getMessageId
protected String getMessageId(org.apache.camel.Exchange exchange)
Description copied from class:AbstractMessagingSpanDecorator
This method identifies the message id for the messaging exchange.- Overrides:
getMessageId
in classAbstractMessagingSpanDecorator
- Returns:
- The message id, or null if no id exists for the exchange
-
-