public class MDCUnitOfWork extends DefaultUnitOfWork
| Constructor and Description |
|---|
MDCUnitOfWork(org.apache.camel.Exchange exchange,
String pattern) |
| 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) |
org.apache.camel.spi.UnitOfWork |
newInstance(org.apache.camel.Exchange exchange) |
org.apache.camel.spi.RouteContext |
popRouteContext() |
void |
pushRouteContext(org.apache.camel.spi.RouteContext routeContext) |
void |
stop() |
String |
toString() |
addSynchronization, afterRoute, beforeRoute, containsSynchronization, createChildUnitOfWork, done, getId, getOriginalInMessage, getRouteContext, handoverSynchronization, handoverSynchronization, isTransacted, isTransactedBy, removeSynchronization, setParentUnitOfWork, startpublic MDCUnitOfWork(org.apache.camel.Exchange exchange,
String pattern)
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 pushRouteContext(org.apache.camel.spi.RouteContext routeContext)
pushRouteContext in interface org.apache.camel.spi.UnitOfWorkpushRouteContext in class DefaultUnitOfWorkpublic org.apache.camel.spi.RouteContext popRouteContext()
popRouteContext in interface org.apache.camel.spi.UnitOfWorkpopRouteContext 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 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