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 TypeMethodDescriptiongetBatchMessageCount(REQUEST request, RESPONSE response) getClientId(REQUEST request) getConversationId(REQUEST request) getDestination(REQUEST request) getDestinationTemplate(REQUEST request) getMessageBodySize(REQUEST request) getMessageEnvelopeSize(REQUEST request) getMessageHeader(REQUEST request, String name) Extracts all values of header namednamefrom the request, or an empty list if there were none.getMessageId(REQUEST request, RESPONSE response) default LonggetMessagePayloadCompressedSize(REQUEST request) Deprecated.default LonggetMessagePayloadSize(REQUEST request) Deprecated.booleanisAnonymousDestination(REQUEST request) booleanisTemporaryDestination(REQUEST request)
-
Method Details
-
getSystem
-
getDestination
-
getDestinationTemplate
-
isTemporaryDestination
-
isAnonymousDestination
-
getConversationId
-
getMessagePayloadSize
Deprecated. -
getMessagePayloadCompressedSize
Deprecated. -
getMessageBodySize
-
getMessageEnvelopeSize
-
getMessageId
-
getClientId
-
getBatchMessageCount
-
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.
-