public final class UnitOfWorkHelper extends Object
UnitOfWork| Modifier and Type | Method and Description |
|---|---|
static void |
afterRouteSynchronizations(Route route,
Exchange exchange,
List<Synchronization> synchronizations,
org.slf4j.Logger log) |
static void |
beforeRouteSynchronizations(Route route,
Exchange exchange,
List<Synchronization> synchronizations,
org.slf4j.Logger log) |
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)
public static void beforeRouteSynchronizations(Route route, Exchange exchange, List<Synchronization> synchronizations, org.slf4j.Logger log)
public static void afterRouteSynchronizations(Route route, Exchange exchange, List<Synchronization> synchronizations, org.slf4j.Logger log)
Apache Camel