Class UnitOfWorkHelper

java.lang.Object
org.apache.camel.support.UnitOfWorkHelper

public final class UnitOfWorkHelper extends Object
Utility methods for UnitOfWork
  • Method Summary

    Modifier and Type
    Method
    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)
     
    static void
    doneUow(org.apache.camel.spi.UnitOfWork uow, org.apache.camel.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 Details

    • doneUow

      public static void doneUow(org.apache.camel.spi.UnitOfWork uow, org.apache.camel.Exchange exchange)
      Done and stop the UnitOfWork.
      Parameters:
      uow - the unit of work
      exchange - 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)