public class MDCUnitOfWork extends DefaultUnitOfWork
| Constructor and Description | 
|---|
| MDCUnitOfWork(org.apache.camel.Exchange exchange,
             org.apache.camel.spi.InflightRepository inflightRepository,
             String pattern,
             boolean allowUseOriginalMessage,
             boolean useBreadcrumb) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterProcess(org.apache.camel.Processor processor,
            org.apache.camel.Exchange exchange,
            org.apache.camel.AsyncCallback callback,
            boolean doneSync) | 
| org.apache.camel.AsyncCallback | beforeProcess(org.apache.camel.Processor processor,
             org.apache.camel.Exchange exchange,
             org.apache.camel.AsyncCallback callback) | 
| void | beginTransactedBy(Object key) | 
| void | clear()Clears information put on the MDC by this  MDCUnitOfWork | 
| void | endTransactedBy(Object key) | 
| boolean | isBeforeAfterProcess() | 
| org.apache.camel.spi.UnitOfWork | newInstance(org.apache.camel.Exchange exchange) | 
| org.apache.camel.Route | popRoute() | 
| void | pushRoute(org.apache.camel.Route route) | 
| void | stop() | 
| String | toString() | 
addSynchronization, afterRoute, beforeRoute, containsSynchronization, createChildUnitOfWork, done, getOriginalInMessage, getRoute, handoverSynchronization, handoverSynchronization, isTransacted, isTransactedBy, removeSynchronization, setParentUnitOfWork, startpublic MDCUnitOfWork(org.apache.camel.Exchange exchange,
                     org.apache.camel.spi.InflightRepository inflightRepository,
                     String pattern,
                     boolean allowUseOriginalMessage,
                     boolean useBreadcrumb)
public org.apache.camel.spi.UnitOfWork newInstance(org.apache.camel.Exchange exchange)
public void stop()
stop in interface org.apache.camel.Servicestop in class DefaultUnitOfWorkpublic void pushRoute(org.apache.camel.Route route)
pushRoute in interface org.apache.camel.spi.UnitOfWorkpushRoute in class DefaultUnitOfWorkpublic org.apache.camel.Route popRoute()
popRoute in interface org.apache.camel.spi.UnitOfWorkpopRoute in class DefaultUnitOfWorkpublic void beginTransactedBy(Object key)
beginTransactedBy in interface org.apache.camel.spi.UnitOfWorkbeginTransactedBy in class DefaultUnitOfWorkpublic void endTransactedBy(Object key)
endTransactedBy in interface org.apache.camel.spi.UnitOfWorkendTransactedBy in class DefaultUnitOfWorkpublic boolean isBeforeAfterProcess()
isBeforeAfterProcess in interface org.apache.camel.spi.UnitOfWorkisBeforeAfterProcess in class DefaultUnitOfWorkpublic org.apache.camel.AsyncCallback beforeProcess(org.apache.camel.Processor processor,
                                                    org.apache.camel.Exchange exchange,
                                                    org.apache.camel.AsyncCallback callback)
beforeProcess in interface org.apache.camel.spi.UnitOfWorkbeforeProcess in class DefaultUnitOfWorkpublic void afterProcess(org.apache.camel.Processor processor,
                         org.apache.camel.Exchange exchange,
                         org.apache.camel.AsyncCallback callback,
                         boolean doneSync)
afterProcess in interface org.apache.camel.spi.UnitOfWorkafterProcess in class DefaultUnitOfWorkpublic void clear()
MDCUnitOfWorkpublic String toString()
toString in class DefaultUnitOfWorkApache Camel