Package org.apache.camel.impl.engine
Class MDCThreadFactoryListener
java.lang.Object
org.apache.camel.impl.engine.MDCThreadFactoryListener
- All Implemented Interfaces:
org.apache.camel.spi.ExecutorServiceManager.ThreadFactoryListener
public class MDCThreadFactoryListener
extends Object
implements org.apache.camel.spi.ExecutorServiceManager.ThreadFactoryListener
MDC
ExecutorServiceManager.ThreadFactoryListener which will include the MDC information
for route id which allows MDC logging to pin-point to the route that logs. This makes it possible to include this
information earlier such as from the internal work that a consumer performs before routing
Exchange where the MDCUnitOfWork would include this information.-
Field Summary
Fields inherited from interface org.apache.camel.spi.ExecutorServiceManager.ThreadFactoryListener
FACTORY -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MDCThreadFactoryListener
public MDCThreadFactoryListener()
-
-
Method Details
-
onNewThreadFactory
- Specified by:
onNewThreadFactoryin interfaceorg.apache.camel.spi.ExecutorServiceManager.ThreadFactoryListener
-