Class JmsSpanDecorator
java.lang.Object
org.apache.camel.telemetry.decorators.AbstractSpanDecorator
org.apache.camel.telemetry.decorators.AbstractMessagingSpanDecorator
org.apache.camel.telemetry.decorators.JmsSpanDecorator
- All Implemented Interfaces:
SpanDecorator
- Direct Known Subclasses:
ActiveMQ6SpanDecorator,ActiveMQSpanDecorator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) This method identifies the destination from the supplied exchange and/or endpoint.getExtractor(org.apache.camel.Exchange exchange) getInjector(org.apache.camel.Exchange exchange) protected StringgetMessageId(org.apache.camel.Exchange exchange) This method identifies the message id for the messaging exchange.Methods inherited from class org.apache.camel.telemetry.decorators.AbstractMessagingSpanDecorator
beforeTracingEvent, getOperationNameMethods inherited from class org.apache.camel.telemetry.decorators.AbstractSpanDecorator
afterTracingEvent, stripSchemeAndOptions, stripSchemeAndOptions, toQueryParameters
-
Field Details
-
JMS_MESSAGE_ID
- See Also:
-
-
Constructor Details
-
JmsSpanDecorator
public JmsSpanDecorator()
-
-
Method Details
-
getComponent
-
getDestination
protected String getDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) Description copied from class:AbstractMessagingSpanDecoratorThis method identifies the destination from the supplied exchange and/or endpoint.- Overrides:
getDestinationin classAbstractMessagingSpanDecorator- Parameters:
exchange- The exchangeendpoint- The endpoint- Returns:
- The message bus destination
-
getComponentClassName
-
getMessageId
Description copied from class:AbstractMessagingSpanDecoratorThis method identifies the message id for the messaging exchange.- Overrides:
getMessageIdin classAbstractMessagingSpanDecorator- Returns:
- The message id, or null if no id exists for the exchange
-
getExtractor
- Specified by:
getExtractorin interfaceSpanDecorator- Overrides:
getExtractorin classAbstractSpanDecorator
-
getInjector
- Specified by:
getInjectorin interfaceSpanDecorator- Overrides:
getInjectorin classAbstractSpanDecorator
-