Class ObservationClientStartInterceptor

All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class ObservationClientStartInterceptor extends AbstractObservationClientInterceptor
  • 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

      public void handleMessage(Message message) throws Fault
      Description copied from interface: Interceptor
      Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.
      Throws:
      Fault
    • handleFault

      public void handleFault(Message message)
      Description copied from interface: Interceptor
      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.
      Specified by:
      handleFault in interface Interceptor<Message>
      Overrides:
      handleFault in class AbstractObservationClientInterceptor