public class LRASagaCoordinator extends Object implements org.apache.camel.saga.CamelSagaCoordinator
Constructor and Description |
---|
LRASagaCoordinator(LRASagaService sagaService,
URL lraURL) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
beginStep(org.apache.camel.Exchange exchange,
org.apache.camel.saga.CamelSagaStep step) |
CompletableFuture<Void> |
compensate() |
CompletableFuture<Void> |
complete() |
String |
getId() |
public LRASagaCoordinator(LRASagaService sagaService, URL lraURL)
public CompletableFuture<Void> beginStep(org.apache.camel.Exchange exchange, org.apache.camel.saga.CamelSagaStep step)
beginStep
in interface org.apache.camel.saga.CamelSagaCoordinator
public CompletableFuture<Void> compensate()
compensate
in interface org.apache.camel.saga.CamelSagaCoordinator
public CompletableFuture<Void> complete()
complete
in interface org.apache.camel.saga.CamelSagaCoordinator
public String getId()
getId
in interface org.apache.camel.spi.HasId
Apache Camel