Class 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 Detail

      • LRASagaCoordinator

        public LRASagaCoordinator​(LRASagaService sagaService,
                                  URL lraURL)
    • Method Detail

      • 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()
        Specified by:
        compensate in interface org.apache.camel.saga.CamelSagaCoordinator
      • complete

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

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