Class CometdSegmentDecorator
- 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.CometdSegmentDecorator
-
- All Implemented Interfaces:
SegmentDecorator
- Direct Known Subclasses:
CometdsSegmentDecorator
public class CometdSegmentDecorator extends AbstractMessagingSegmentDecorator
-
-
Field Summary
-
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 CometdSegmentDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComponent()The camel component associated with the decorator.protected 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
-
-
-
-
Method Detail
-
getComponent
public String getComponent()
Description copied from interface:SegmentDecoratorThe camel component associated with the decorator.- Returns:
- The camel component name
-
getDestination
protected 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
-
-