Class LogSegmentDecorator
java.lang.Object
org.apache.camel.component.aws.xray.decorators.AbstractSegmentDecorator
org.apache.camel.component.aws.xray.decorators.LogSegmentDecorator
- All Implemented Interfaces:
SegmentDecorator
-
Field Summary
Fields 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.booleanThis method indicates whether the component associated with the SegmentDecorator should result in a new segment being created.Methods inherited from class org.apache.camel.component.aws.xray.decorators.AbstractSegmentDecorator
getOperationName, post, pre, stripSchemeAndOptions, toQueryParameters
-
Constructor Details
-
LogSegmentDecorator
public LogSegmentDecorator()
-
-
Method Details
-
getComponent
Description copied from interface:SegmentDecoratorThe camel component associated with the decorator.- Returns:
- The camel component name
-
newSegment
public boolean newSegment()Description copied from interface:SegmentDecoratorThis method indicates whether the component associated with the SegmentDecorator should result in a new segment being created.- Specified by:
newSegmentin interfaceSegmentDecorator- Overrides:
newSegmentin classAbstractSegmentDecorator- Returns:
- Whether a new segment should be created
-