Class SqsListenerObservation.Context
java.lang.Object
io.micrometer.observation.Observation.Context
io.micrometer.observation.transport.ReceiverContext<Message<?>>
io.awspring.cloud.sqs.support.observation.AbstractListenerObservation.Context
io.awspring.cloud.sqs.support.observation.SqsListenerObservation.Context
- All Implemented Interfaces:
io.micrometer.observation.Observation.ContextView
- Enclosing class:
- SqsListenerObservation
SqsListenerObservation.Context for SQS message listeners.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the message deduplication id.Return the message group id.Methods inherited from class io.awspring.cloud.sqs.support.observation.AbstractListenerObservation.Context
getMessage, getMessageId, getSourceNameMethods inherited from class io.micrometer.observation.transport.ReceiverContext
getCarrier, getGetter, getKind, getRemoteServiceAddress, getRemoteServiceName, setCarrier, setRemoteServiceAddress, setRemoteServiceNameMethods inherited from class io.micrometer.observation.Observation.Context
addHighCardinalityKeyValue, addHighCardinalityKeyValues, addLowCardinalityKeyValue, addLowCardinalityKeyValues, clear, computeIfAbsent, containsKey, get, getAllKeyValues, getContextualName, getError, getHighCardinalityKeyValue, getHighCardinalityKeyValues, getLowCardinalityKeyValue, getLowCardinalityKeyValues, getName, getOrDefault, getParentObservation, getRequired, put, remove, removeHighCardinalityKeyValue, removeHighCardinalityKeyValues, removeLowCardinalityKeyValue, removeLowCardinalityKeyValues, setContextualName, setError, setName, setParentObservation, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.micrometer.observation.Observation.ContextView
getOrDefault
-
Constructor Details
-
Context
Construct an SQS message receiver context.- Parameters:
message- the message.
-
-
Method Details
-
getMessageGroupId
Return the message group id.- Returns:
- the message group id.
-
getMessageDeduplicationId
Return the message deduplication id.- Returns:
- the message deduplication id.
-