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
public class StompSegmentDecorator extends AbstractMessagingSegmentDecorator
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringQUEUE_PREFIX-
Fields inherited from class org.apache.camel.component.aws.xray.decorators.messaging.AbstractMessagingSegmentDecorator
MESSAGE_BUS_ID
-
Fields inherited from interface org.apache.camel.component.aws.xray.SegmentDecorator
CAMEL_COMPONENT, DEFAULT
-
-
Constructor Summary
Constructors Constructor Description StompSegmentDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComponent()The camel component associated with the decorator.StringgetDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)Gets the (component-specific) destination-
Methods inherited from class org.apache.camel.component.aws.xray.decorators.messaging.AbstractMessagingSegmentDecorator
getMessageId, getOperationName, pre
-
Methods inherited from class org.apache.camel.component.aws.xray.decorators.AbstractSegmentDecorator
newSegment, post, stripSchemeAndOptions, toQueryParameters
-
-
-
-
Field Detail
-
QUEUE_PREFIX
protected static final String QUEUE_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getComponent
public String 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
-
-