public class MqttSpanDecorator extends AbstractMessagingSpanDecorator
MESSAGE_BUS_ID
CAMEL_COMPONENT, DEFAULT
Constructor and Description |
---|
MqttSpanDecorator() |
Modifier and Type | Method and Description |
---|---|
String |
getComponent()
The camel component associated with the decorator.
|
protected String |
getDestination(org.apache.camel.Exchange exchange,
org.apache.camel.Endpoint endpoint)
This method identifies the destination from the supplied exchange and/or endpoint.
|
String |
getOperationName(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.
|
getInitiatorSpanKind, getMessageId, getReceiverSpanKind, pre
newSpan, post, stripSchemeAndOptions, toQueryParameters
public String getComponent()
SpanDecorator
public String getOperationName(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)
SpanDecorator
getOperationName
in interface SpanDecorator
getOperationName
in class AbstractMessagingSpanDecorator
exchange
- The exchangeendpoint
- The endpointprotected String getDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)
AbstractMessagingSpanDecorator
getDestination
in class AbstractMessagingSpanDecorator
exchange
- The exchangeendpoint
- The endpointApache Camel