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 TypeMethodDescriptionconversationId(REQUEST request) destination(REQUEST request) destinationKind(REQUEST request) Extracts all values of header namednamefrom the request, or an empty list if there were none.messagePayloadCompressedSize(REQUEST request) messagePayloadSize(REQUEST request) protocolVersion(REQUEST request) booleantemporaryDestination(REQUEST request)
-
Method Details
-
system
-
destinationKind
-
destination
-
temporaryDestination
-
protocol
-
protocolVersion
-
url
-
conversationId
-
messagePayloadSize
-
messagePayloadCompressedSize
-
messageId
-
header
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.
-