public final class UnitOfWorkHelper extends Object
UnitOfWork
Modifier and Type | Method and Description |
---|---|
static 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,
org.slf4j.Logger log) |
static void |
doneUow(org.apache.camel.spi.UnitOfWork uow,
org.apache.camel.Exchange exchange)
Done and stop the
UnitOfWork . |
public static void doneUow(org.apache.camel.spi.UnitOfWork uow, org.apache.camel.Exchange exchange)
UnitOfWork
.uow
- the unit of workexchange
- the exchange (will unset the UoW on the exchange)public static void doneSynchronizations(org.apache.camel.Exchange exchange, List<org.apache.camel.spi.Synchronization> synchronizations, org.slf4j.Logger log)
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)
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)
Apache Camel