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:
- The current
Client - The current
Trackerif one is active - The current
DeserializingMessagebeing handled - The current
Invocationcontext
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DefaultCorrelationDataProvider[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface CorrelationDataProvider
andThen, getApplicationIdKey, getClientIdKey, getClientNameKey, getConsumerKey, getCorrelationData, getCorrelationData, getCorrelationData, getCorrelationIdKey, getDelayKey, getInvocationKey, getTraceIdKey, getTrackerKey, getTriggerKey, getTriggerTypeKey
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-