public class RabbitmqSpanDecorator extends AbstractMessagingSpanDecorator
Modifier and Type | Field and Description |
---|---|
protected static String |
EXCHANGE_NAME
Constants copied from
org.apache.camel.component.rabbitmq.RabbitMQConstants |
MESSAGE_BUS_ID
CAMEL_COMPONENT, DEFAULT
Constructor and Description |
---|
RabbitmqSpanDecorator() |
Modifier and Type | Method and Description |
---|---|
String |
getComponent()
The camel component 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.
|
getInitiatorSpanKind, getMessageId, getOperationName, getReceiverSpanKind, pre
newSpan, post, stripSchemeAndOptions, toQueryParameters
protected static final String EXCHANGE_NAME
org.apache.camel.component.rabbitmq.RabbitMQConstants
public String getComponent()
SpanDecorator
public String getDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)
AbstractMessagingSpanDecorator
getDestination
in class AbstractMessagingSpanDecorator
exchange
- The exchangeendpoint
- The endpointApache Camel