Interface MessagingAttributesGetter<REQUEST,RESPONSE>
public interface MessagingAttributesGetter<REQUEST,RESPONSE>
An interface for getting messaging attributes.
Instrumentation authors will create implementations of this interface for their specific
library/framework. It will be used by the MessagingAttributesExtractor to obtain the
various messaging attributes in a type-generic way.
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringconversationId(REQUEST request) Deprecated.default Stringdestination(REQUEST request) Deprecated.UsegetDestination(Object)instead.default StringdestinationKind(REQUEST request) Deprecated.UsegetDestinationKind(Object)instead.default StringgetConversationId(REQUEST request) default StringgetDestination(REQUEST request) default StringgetDestinationKind(REQUEST request) getMessageHeader(REQUEST request, String name) Extracts all values of header namednamefrom the request, or an empty list if there were none.default StringgetMessageId(REQUEST request, RESPONSE response) default LonggetMessagePayloadCompressedSize(REQUEST request) default LonggetMessagePayloadSize(REQUEST request) default StringgetProtocol(REQUEST request) default StringgetProtocolVersion(REQUEST request) default Stringdefault StringDeprecated.UsegetMessageHeader(Object, String)instead.default booleanisTemporaryDestination(REQUEST request) default StringDeprecated.UsegetMessageId(Object, Object)instead.default LongmessagePayloadCompressedSize(REQUEST request) Deprecated.UsegetMessagePayloadCompressedSize(Object)instead.default LongmessagePayloadSize(REQUEST request) Deprecated.UsegetMessagePayloadSize(Object)instead.default StringDeprecated.UsegetProtocol(Object)instead.default StringprotocolVersion(REQUEST request) Deprecated.UsegetProtocolVersion(Object)instead.default StringDeprecated.UsegetSystem(Object)instead.default booleantemporaryDestination(REQUEST request) Deprecated.UseisTemporaryDestination(Object)instead.default StringDeprecated.UsegetUrl(Object)instead.
-
Method Details
-
getSystem
-
system
Deprecated.UsegetSystem(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getDestinationKind
-
destinationKind
Deprecated.UsegetDestinationKind(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getDestination
-
destination
Deprecated.UsegetDestination(Object)instead.This method is deprecated and will be removed in the subsequent release. -
isTemporaryDestination
-
temporaryDestination
Deprecated.UseisTemporaryDestination(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getProtocol
-
protocol
Deprecated.UsegetProtocol(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getProtocolVersion
-
protocolVersion
Deprecated.UsegetProtocolVersion(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getUrl
-
url
Deprecated.UsegetUrl(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getConversationId
-
conversationId
Deprecated.UsegetConversationId(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getMessagePayloadSize
-
messagePayloadSize
Deprecated.UsegetMessagePayloadSize(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getMessagePayloadCompressedSize
-
messagePayloadCompressedSize
Deprecated.UsegetMessagePayloadCompressedSize(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getMessageId
-
messageId
Deprecated.UsegetMessageId(Object, Object)instead.This method is deprecated and will be removed in the subsequent release. -
getMessageHeader
Extracts all values of header namednamefrom the request, or an empty list if there were none.Implementations of this method must not return a null value; an empty list should be returned instead.
-
header
Deprecated.UsegetMessageHeader(Object, String)instead.Extracts all values of header namednamefrom the request, or an empty list if there were none.Implementations of this method must not return a null value; an empty list should be returned instead.
This method is deprecated and will be removed in the subsequent release.
-
getConversationId(Object)instead.