public abstract class AbstractMessagingSegmentDecorator extends AbstractSegmentDecorator
| Modifier and Type | Field and Description |
|---|---|
protected static String |
MESSAGE_BUS_ID |
CAMEL_COMPONENT, DEFAULT| Constructor and Description |
|---|
AbstractMessagingSegmentDecorator() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDestination(org.apache.camel.Exchange exchange,
org.apache.camel.Endpoint endpoint) |
protected String |
getMessageId(org.apache.camel.Exchange exchange) |
String |
getOperationName(org.apache.camel.Exchange exchange,
org.apache.camel.Endpoint endpoint)
This method returns the operation name to use with the segment representing this exchange and endpoint.
|
void |
pre(com.amazonaws.xray.entities.Entity segment,
org.apache.camel.Exchange exchange,
org.apache.camel.Endpoint endpoint)
This method adds appropriate details (tags/logs) to the supplied segment based on the pre processing of the
exchange.
|
newSegment, post, stripSchemeAndOptions, toQueryParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentprotected static final String MESSAGE_BUS_ID
public String getOperationName(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)
SegmentDecoratorgetOperationName in interface SegmentDecoratorgetOperationName in class AbstractSegmentDecoratorexchange - The exchangeendpoint - The endpointpublic void pre(com.amazonaws.xray.entities.Entity segment,
org.apache.camel.Exchange exchange,
org.apache.camel.Endpoint endpoint)
SegmentDecoratorpre in interface SegmentDecoratorpre in class AbstractSegmentDecoratorsegment - The segmentexchange - The exchangeendpoint - The endpointprotected String getDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)
protected String getMessageId(org.apache.camel.Exchange exchange)
Apache Camel