Package org.apache.camel.saga
Interface CamelSagaService
-
- All Superinterfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.Service
- All Known Implementing Classes:
InMemorySagaService
public interface CamelSagaService extends org.apache.camel.Service, org.apache.camel.CamelContextAwareA Camel saga service is a factory of saga coordinators.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<CamelSagaCoordinator>getSaga(String id)CompletableFuture<CamelSagaCoordinator>newSaga()voidregisterStep(CamelSagaStep step)
-
-
-
Method Detail
-
newSaga
CompletableFuture<CamelSagaCoordinator> newSaga()
-
getSaga
CompletableFuture<CamelSagaCoordinator> getSaga(String id)
-
registerStep
void registerStep(CamelSagaStep step)
-
-