Class JmsSegmentDecorator
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.JmsSegmentDecorator
- 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.protected StringgetMessageId(org.apache.camel.Exchange exchange) Gets the message ID from the exchangeMethods inherited from class org.apache.camel.component.aws.xray.decorators.messaging.AbstractMessagingSegmentDecorator
getDestination, getOperationName, preMethods inherited from class org.apache.camel.component.aws.xray.decorators.AbstractSegmentDecorator
newSegment, post, stripSchemeAndOptions, toQueryParameters
-
Field Details
-
JMS_MESSAGE_ID
- See Also:
-
-
Constructor Details
-
JmsSegmentDecorator
public JmsSegmentDecorator()
-
-
Method Details
-
getComponent
Description copied from interface:SegmentDecoratorThe camel component associated with the decorator.- Returns:
- The camel component name
-
getMessageId
Description copied from class:AbstractMessagingSegmentDecoratorGets the message ID from the exchange- Overrides:
getMessageIdin classAbstractMessagingSegmentDecorator- Parameters:
exchange- the exchange from which to extract the message ID- Returns:
- A String with the message ID or null if not applicable
-