Class TimeParameterResolver

java.lang.Object
io.fluxzero.sdk.tracking.handling.TimeParameterResolver

public class TimeParameterResolver extends Object
The TimeParameterResolver class implements the ParameterResolver interface to resolve parameters of type Instant and Clock in message handler methods.

This resolver is capable of injecting values into handler method parameters based on the message being processed.

It supports two types of parameters: 1. Instant: Resolved to the timestamp of the current message. 2. Clock: Resolved to a fixed Clock instance with the current message's timestamp in UTC.

  • Constructor Details

    • TimeParameterResolver

      public TimeParameterResolver()
  • Method Details