Created
May 26, 2014 11:02
-
-
Save danielbryantuk/6ea0f10f377051c3552f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RequestCorrelation { | |
public static final String CORRELATION_ID = "correlationId"; | |
private static final ThreadLocal<String> id = new ThreadLocal<String>(); | |
public static String getId() { return id.get(); } | |
public static void setId(String correlationId) { id.set(correlationId); } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment