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 TypeMethodDescriptiongetConversationId(REQUEST request) getDestination(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) getMessagePayloadCompressedSize(REQUEST request) getMessagePayloadSize(REQUEST request) booleanisTemporaryDestination(REQUEST request)
-
Method Details
-
getSystem
-
getDestination
-
isTemporaryDestination
-
getConversationId
-
getMessagePayloadSize
-
getMessagePayloadCompressedSize
-
getMessageId
-
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.
-