public class SagaResponse extends Object
SagaAPI
was used to generate the initial SagaRequest
, the response is then used to
complete the SagaAPI.getSagaResponse
method asynchronously.Modifier and Type | Field and Description |
---|---|
io.simplesource.data.Result<SagaError,io.simplesource.data.Sequence> |
result
Either and error if the saga failed to execute successfully, or the sequence number, which indicates the number of steps executed in the completed saga.
|
SagaId |
sagaId
The saga id uniquely identifies the saga, and is used as the key for the saga request and responses.
|
Constructor and Description |
---|
SagaResponse() |
public final SagaId sagaId
public final io.simplesource.data.Result<SagaError,io.simplesource.data.Sequence> result
Copyright © 2019. All rights reserved.