Class SqsListenerObservation.SqsSpecifics
java.lang.Object
io.awspring.cloud.sqs.support.observation.SqsListenerObservation.SqsSpecifics
- All Implemented Interfaces:
AbstractListenerObservation.Specifics<SqsListenerObservation.Context>
- Enclosing class:
- SqsListenerObservation
public static class SqsListenerObservation.SqsSpecifics
extends Object
implements AbstractListenerObservation.Specifics<SqsListenerObservation.Context>
Observation-related instances that are specific to SQS.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateContext(Message<?> message) Construct an specificAbstractListenerObservation.Contextinstance with the provided message.io.micrometer.observation.ObservationConvention<SqsListenerObservation.Context>Return the defaultObservationConventionfor the specific messaging system.io.micrometer.observation.docs.ObservationDocumentationReturn theObservationDocumentationfor the specific messaging system.
-
Constructor Details
-
SqsSpecifics
public SqsSpecifics()
-
-
Method Details
-
createContext
Description copied from interface:AbstractListenerObservation.SpecificsConstruct an specificAbstractListenerObservation.Contextinstance with the provided message.- Specified by:
createContextin interfaceAbstractListenerObservation.Specifics<SqsListenerObservation.Context>- Parameters:
message- the message from which the context should be constructed.- Returns:
- the context instance.
-
getDefaultConvention
public io.micrometer.observation.ObservationConvention<SqsListenerObservation.Context> getDefaultConvention()Description copied from interface:AbstractListenerObservation.SpecificsReturn the defaultObservationConventionfor the specific messaging system.- Specified by:
getDefaultConventionin interfaceAbstractListenerObservation.Specifics<SqsListenerObservation.Context>- Returns:
- the convention.
-
getDocumentation
public io.micrometer.observation.docs.ObservationDocumentation getDocumentation()Description copied from interface:AbstractListenerObservation.SpecificsReturn theObservationDocumentationfor the specific messaging system.- Specified by:
getDocumentationin interfaceAbstractListenerObservation.Specifics<SqsListenerObservation.Context>- Returns:
- the documentation.
-