Class MDCHelper


  • public final class MDCHelper
    extends Object
    The Mapped Diagnostic Context helper class.
    • Method Detail

      • getOrCreateCorrelationId

        public static String getOrCreateCorrelationId()
        Gets correlation_id from MDC, if it is missing, new correlation_id will be created.
        Returns:
        the string of correlation_id