beadledom-correlation

This project encapsulates and provides access to the Correlation ID of the current transaction. A Correlation ID is a unique identifier that can be used to connect (correlate) calls through multiple services that are part of a single transaction. This project provides access to the current Correlation Id and allows frameworks to control the lifecycle of the Correlation Id.

Download

Download using Maven

<dependencies>
    ...
    <dependency>
        <groupId>com.cerner.beadledom</groupId>
        <artifactId>beadledom-correlation</artifactId>
        <version>[Insert latest version]</version>
    </dependency>
    ...
</dependencies>

Usage

Setting the Correlation ID

Getting the Correlation ID

Resetting the Correlation ID

Use with Callable