Class CorrelationIdGenerator
java.lang.Object
com.aquima.interactions.foundation.exception.CorrelationIdGenerator
Class used in order to generate correlation ids.
- Since:
- 10.0
- Author:
- Voicu Moldovan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
This method generates a new and unique correlation id.
-
Constructor Details
-
CorrelationIdGenerator
public CorrelationIdGenerator()
-
-
Method Details
-
newCorrelationId
This method generates a new and unique correlation id.The current implementation is done via UUIDs and is convertible to .net. If the id generation strategy changes, only this method requires updates.
- Returns:
- String value of the correlation id.
-