multithreading

← Back to All Tags

How to pass MDC context from calling thread to new thread in Java

Java

MDC manages contextual information per thread basis, information like userID, IP mostly gets stored in MDC context. In this post we will see how to pass this information to new thread created from main thread.

Read