Package com.skava.unitwork
Class MDCUnitOfWorkFactory
java.lang.Object
com.skava.unitwork.MDCUnitOfWorkFactory
- All Implemented Interfaces:
org.apache.camel.AfterPropertiesConfigured,org.apache.camel.spi.UnitOfWorkFactory
@Component
public class MDCUnitOfWorkFactory
extends Object
implements org.apache.camel.spi.UnitOfWorkFactory
custom factory for creating custom MDC unit of work.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.spi.UnitOfWorkcreateUnitOfWork(org.apache.camel.Exchange exchange) returns the new Unit of work for MDC.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.spi.UnitOfWorkFactory
afterPropertiesConfigured
-
Constructor Details
-
MDCUnitOfWorkFactory
public MDCUnitOfWorkFactory()default constructor.
-
-
Method Details
-
createUnitOfWork
public org.apache.camel.spi.UnitOfWork createUnitOfWork(org.apache.camel.Exchange exchange) returns the new Unit of work for MDC.- Specified by:
createUnitOfWorkin interfaceorg.apache.camel.spi.UnitOfWorkFactory
-