Class StompSegmentDecorator
java.lang.Object
org.apache.camel.component.aws.xray.decorators.AbstractSegmentDecorator
org.apache.camel.component.aws.xray.decorators.messaging.AbstractMessagingSegmentDecorator
org.apache.camel.component.aws.xray.decorators.messaging.StompSegmentDecorator
- All Implemented Interfaces:
SegmentDecorator
-
Field Summary
FieldsFields inherited from class org.apache.camel.component.aws.xray.decorators.messaging.AbstractMessagingSegmentDecorator
MESSAGE_BUS_IDFields inherited from interface org.apache.camel.component.aws.xray.SegmentDecorator
CAMEL_COMPONENT, DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe camel component associated with the decorator.getDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) Gets the (component-specific) destinationMethods inherited from class org.apache.camel.component.aws.xray.decorators.messaging.AbstractMessagingSegmentDecorator
getMessageId, getOperationName, preMethods inherited from class org.apache.camel.component.aws.xray.decorators.AbstractSegmentDecorator
newSegment, post, stripSchemeAndOptions, toQueryParameters
-
Field Details
-
QUEUE_PREFIX
- See Also:
-
-
Constructor Details
-
StompSegmentDecorator
public StompSegmentDecorator()
-
-
Method Details
-
getComponent
Description copied from interface:SegmentDecoratorThe camel component associated with the decorator.- Returns:
- The camel component name
-
getDestination
public String getDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) Description copied from class:AbstractMessagingSegmentDecoratorGets the (component-specific) destination- Overrides:
getDestinationin classAbstractMessagingSegmentDecorator- Parameters:
exchange- the exchange to extract the destination info fromendpoint- the endpoint being used- Returns:
- A String with the destination
-