Package org.apache.camel.support
Class UnitOfWorkHelper
java.lang.Object
org.apache.camel.support.UnitOfWorkHelper
Utility methods for
UnitOfWork
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
afterRouteSynchronizations
(org.apache.camel.Route route, org.apache.camel.Exchange exchange, List<org.apache.camel.spi.Synchronization> synchronizations, org.slf4j.Logger log) static void
beforeRouteSynchronizations
(org.apache.camel.Route route, org.apache.camel.Exchange exchange, List<org.apache.camel.spi.Synchronization> synchronizations, org.slf4j.Logger log) static void
doneSynchronizations
(org.apache.camel.Exchange exchange, List<org.apache.camel.spi.Synchronization> synchronizations) static void
doneUow
(org.apache.camel.spi.UnitOfWork uow, org.apache.camel.Exchange exchange) Done and stop theUnitOfWork
.
-
Method Details
-
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) -
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)
-