public class NsqSpanDecorator extends AbstractMessagingSpanDecorator
| Modifier and Type | Field and Description |
|---|---|
static String |
NSQ_MESSAGE_ID |
static String |
NSQ_TOPIC |
MESSAGE_BUS_IDCAMEL_COMPONENT, DEFAULT| Constructor and Description |
|---|
NsqSpanDecorator() |
| Modifier and Type | Method and 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.
|
protected String |
getMessageId(org.apache.camel.Exchange exchange)
This method identifies the message id for the messaging exchange.
|
getExtractAdapter, getInitiatorSpanKind, getInjectAdapter, getOperationName, getReceiverSpanKind, prenewSpan, post, stripSchemeAndOptions, toQueryParameterspublic static final String NSQ_MESSAGE_ID
public static final String NSQ_TOPIC
public String getComponent()
SpanDecoratorpublic String getComponentClassName()
SpanDecoratorpublic String getDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)
AbstractMessagingSpanDecoratorgetDestination in class AbstractMessagingSpanDecoratorexchange - The exchangeendpoint - The endpointprotected String getMessageId(org.apache.camel.Exchange exchange)
AbstractMessagingSpanDecoratorgetMessageId in class AbstractMessagingSpanDecoratorApache Camel