Class ObservationClientStartInterceptor
java.lang.Object
org.apache.cxf.tracing.AbstractTracingProvider
org.apache.cxf.tracing.micrometer.AbstractObservationClientProvider
org.apache.cxf.tracing.micrometer.AbstractObservationClientInterceptor
org.apache.cxf.tracing.micrometer.ObservationClientStartInterceptor
- All Implemented Interfaces:
Interceptor<Message>,PhaseInterceptor<Message>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cxf.tracing.AbstractTracingProvider
AbstractTracingProvider.TraceScopeHolder<T> -
Field Summary
Fields inherited from class org.apache.cxf.tracing.micrometer.AbstractObservationClientProvider
LOG, OBSERVATION_SCOPE -
Constructor Summary
ConstructorsConstructorDescriptionObservationClientStartInterceptor(io.micrometer.observation.ObservationRegistry observationRegistry) ObservationClientStartInterceptor(io.micrometer.observation.ObservationRegistry observationRegistry, MessageOutObservationConvention convention) ObservationClientStartInterceptor(String phase, io.micrometer.observation.ObservationRegistry observationRegistry, MessageOutObservationConvention convention) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleFault(Message message) Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.voidhandleMessage(Message message) Intercepts a message.Methods inherited from class org.apache.cxf.tracing.micrometer.AbstractObservationClientInterceptor
getAdditionalInterceptors, getAfter, getBefore, getId, getPhaseMethods inherited from class org.apache.cxf.tracing.micrometer.AbstractObservationClientProvider
getObservationRegistry, startScopedObservation, stopTraceSpanMethods inherited from class org.apache.cxf.tracing.AbstractTracingProvider
buildSpanDescription, getSpanIdHeader, getUri
-
Constructor Details
-
ObservationClientStartInterceptor
public ObservationClientStartInterceptor(io.micrometer.observation.ObservationRegistry observationRegistry) -
ObservationClientStartInterceptor
public ObservationClientStartInterceptor(io.micrometer.observation.ObservationRegistry observationRegistry, @Nullable MessageOutObservationConvention convention) -
ObservationClientStartInterceptor
public ObservationClientStartInterceptor(String phase, io.micrometer.observation.ObservationRegistry observationRegistry, @Nullable MessageOutObservationConvention convention)
-
-
Method Details
-
handleMessage
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Throws:
Fault
-
handleFault
Description copied from interface:InterceptorCalled for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.- Specified by:
handleFaultin interfaceInterceptor<Message>- Overrides:
handleFaultin classAbstractObservationClientInterceptor
-