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
public class LogSegmentDecorator extends AbstractSegmentDecorator
-
-
Field Summary
-
Fields inherited from interface org.apache.camel.component.aws.xray.SegmentDecorator
CAMEL_COMPONENT, DEFAULT
-
-
Constructor Summary
Constructors Constructor Description LogSegmentDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComponent()The camel component associated with the decorator.booleannewSegment()This 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
-
-
-
-
Method Detail
-
getComponent
public String 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
-
-