Class IronmqSegmentDecorator
- 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.IronmqSegmentDecorator
-
- All Implemented Interfaces:
SegmentDecorator
public class IronmqSegmentDecorator extends AbstractMessagingSegmentDecorator
-
-
Field Summary
Fields Modifier and Type Field Description static StringCAMEL_IRON_MQ_MESSAGE_ID-
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 IronmqSegmentDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComponent()The camel component associated with the decorator.protected StringgetMessageId(org.apache.camel.Exchange exchange)Gets the message ID from the exchange-
Methods inherited from class org.apache.camel.component.aws.xray.decorators.messaging.AbstractMessagingSegmentDecorator
getDestination, getOperationName, pre
-
Methods inherited from class org.apache.camel.component.aws.xray.decorators.AbstractSegmentDecorator
newSegment, post, stripSchemeAndOptions, toQueryParameters
-
-
-
-
Field Detail
-
CAMEL_IRON_MQ_MESSAGE_ID
public static final String CAMEL_IRON_MQ_MESSAGE_ID
- 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
-
getMessageId
protected String getMessageId(org.apache.camel.Exchange exchange)
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
-
-