|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.util.UnitOfWorkHelper
public final class UnitOfWorkHelper
Utility methods for UnitOfWork
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@Deprecated public static UnitOfWork createUoW(Exchange exchange)
CamelContext.getUnitOfWorkFactory() instead.
UnitOfWork.
exchange - the exchange
public 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||