Enum Class DefaultCorrelationDataProvider

java.lang.Object
java.lang.Enum<DefaultCorrelationDataProvider>
io.fluxzero.sdk.publishing.correlation.DefaultCorrelationDataProvider
All Implemented Interfaces:
CorrelationDataProvider, Serializable, Comparable<DefaultCorrelationDataProvider>, Constable

public enum DefaultCorrelationDataProvider extends Enum<DefaultCorrelationDataProvider> implements CorrelationDataProvider
Default implementation of the CorrelationDataProvider interface.

This provider automatically assembles standard correlation metadata that is attached to outgoing messages in a Fluxzero application. This correlation data enables tracing, auditing, monitoring, and debugging across asynchronous message flows.

It gathers correlation context from multiple sources, including:

In addition to these fields, trace-level metadata from the current message (e.g. custom entries marked as traceable) is also included.

This correlation metadata is typically added to outgoing messages automatically via the CorrelatingInterceptor.

See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static DefaultCorrelationDataProvider[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DefaultCorrelationDataProvider valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null