Class LRASagaCoordinator

java.lang.Object
org.apache.camel.service.lra.LRASagaCoordinator
All Implemented Interfaces:
org.apache.camel.saga.CamelSagaCoordinator, org.apache.camel.spi.HasId

public class LRASagaCoordinator extends Object implements org.apache.camel.saga.CamelSagaCoordinator
  • Constructor Details

    • LRASagaCoordinator

      public LRASagaCoordinator(LRASagaService sagaService, URL lraURL)
  • Method Details

    • beginStep

      public CompletableFuture<Void> beginStep(org.apache.camel.Exchange exchange, org.apache.camel.saga.CamelSagaStep step)
      Specified by:
      beginStep in interface org.apache.camel.saga.CamelSagaCoordinator
    • compensate

      public CompletableFuture<Void> compensate(org.apache.camel.Exchange exchange)
      Specified by:
      compensate in interface org.apache.camel.saga.CamelSagaCoordinator
    • complete

      public CompletableFuture<Void> complete(org.apache.camel.Exchange exchange)
      Specified by:
      complete in interface org.apache.camel.saga.CamelSagaCoordinator
    • getId

      public String getId()
      Specified by:
      getId in interface org.apache.camel.spi.HasId