Hi In Camel 3.x and in a more and more reactive world, then MDC logging is becoming a more and more bad practice.
That MDC context is thread bound, and that information needs to be transferred between MDC thread bound context when Camel routes messages, both within its own routing engine, but also via 3rd party libraries that uses their threading model. All that makes MDC not possible to reliably transfer data between threads, and also to "reset" when its done etc. Also there is overhead associated with attempting to do this within the Camel framework. I would like to deprecate MDC logging in Camel 3.10 onwards. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2