Package org.apache.camel.saga
Interface CamelSagaCoordinator
-
- All Superinterfaces:
org.apache.camel.spi.HasId
- All Known Implementing Classes:
InMemorySagaCoordinator
public interface CamelSagaCoordinator extends org.apache.camel.spi.HasId
A saga coordinator can be used to register compensator's and take the final decision on the saga: compensate or complete (successfully).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<Void>
beginStep(org.apache.camel.Exchange exchange, CamelSagaStep step)
CompletableFuture<Void>
compensate()
CompletableFuture<Void>
complete()
-
-
-
Method Detail
-
beginStep
CompletableFuture<Void> beginStep(org.apache.camel.Exchange exchange, CamelSagaStep step)
-
compensate
CompletableFuture<Void> compensate()
-
complete
CompletableFuture<Void> complete()
-
-