Package org.apache.camel.support
Class UnitOfWorkHelper
- java.lang.Object
-
- org.apache.camel.support.UnitOfWorkHelper
-
public final class UnitOfWorkHelper extends Object
Utility methods forUnitOfWork
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidafterRouteSynchronizations(org.apache.camel.Route route, org.apache.camel.Exchange exchange, List<org.apache.camel.spi.Synchronization> synchronizations, org.slf4j.Logger log)static voidbeforeRouteSynchronizations(org.apache.camel.Route route, org.apache.camel.Exchange exchange, List<org.apache.camel.spi.Synchronization> synchronizations, org.slf4j.Logger log)static voiddoneSynchronizations(org.apache.camel.Exchange exchange, List<org.apache.camel.spi.Synchronization> synchronizations, org.slf4j.Logger log)static voiddoneUow(org.apache.camel.spi.UnitOfWork uow, org.apache.camel.Exchange exchange)Done and stop theUnitOfWork.
-
-
-
Method Detail
-
doneUow
public static void doneUow(org.apache.camel.spi.UnitOfWork uow, org.apache.camel.Exchange exchange)Done and stop theUnitOfWork.- Parameters:
uow- the unit of workexchange- the exchange (will unset the UoW on the exchange)
-
doneSynchronizations
public static void doneSynchronizations(org.apache.camel.Exchange exchange, List<org.apache.camel.spi.Synchronization> synchronizations, org.slf4j.Logger log)
-
beforeRouteSynchronizations
public static void beforeRouteSynchronizations(org.apache.camel.Route route, org.apache.camel.Exchange exchange, List<org.apache.camel.spi.Synchronization> synchronizations, org.slf4j.Logger log)
-
afterRouteSynchronizations
public static void afterRouteSynchronizations(org.apache.camel.Route route, org.apache.camel.Exchange exchange, List<org.apache.camel.spi.Synchronization> synchronizations, org.slf4j.Logger log)
-
-