org.apache.camel.util
Class UnitOfWorkHelper
java.lang.Object
org.apache.camel.util.UnitOfWorkHelper
public final class UnitOfWorkHelper
- extends Object
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createUoW
@Deprecated
public static UnitOfWork createUoW(Exchange exchange)
- Deprecated. use
CamelContext.getUnitOfWorkFactory()
instead.
- Creates a new
UnitOfWork
.
- Parameters:
exchange
- the exchange
- Returns:
- the created unit of work (is not started)
doneUow
public static void doneUow(UnitOfWork uow,
Exchange exchange)
- Done and stop the
UnitOfWork
.
- Parameters:
uow
- the unit of workexchange
- the exchange (will unset the UoW on the exchange)
doneSynchronizations
public static void doneSynchronizations(Exchange exchange,
List<Synchronization> synchronizations,
org.slf4j.Logger log)
Apache Camel