public final class UnitOfWorkHelper extends Object
Modifier and Type | Method and Description |
---|---|
static UnitOfWork |
createUoW(Exchange exchange)
Deprecated.
use
CamelContext.getUnitOfWorkFactory() instead. |
static void |
doneSynchronizations(Exchange exchange,
List<Synchronization> synchronizations,
org.slf4j.Logger log) |
static void |
doneUow(UnitOfWork uow,
Exchange exchange)
Done and stop the
UnitOfWork . |
@Deprecated public static UnitOfWork createUoW(Exchange exchange)
CamelContext.getUnitOfWorkFactory()
instead.UnitOfWork
.exchange
- the exchangepublic static void doneUow(UnitOfWork uow, Exchange exchange)
UnitOfWork
.uow
- the unit of workexchange
- the exchange (will unset the UoW on the exchange)public static void doneSynchronizations(Exchange exchange, List<Synchronization> synchronizations, org.slf4j.Logger log)
Apache Camel