A - a representation of an action command that is shared across all actions in the saga. This is typically a generic type, such as Json, or if using Avro serialization, SpecificRecord or GenericRecordpublic class UndoCommand<A> extends Object
action response to dynamically set the undo (compensation) command for the action for if the saga later fails.| Modifier and Type | Field and Description |
|---|---|
String |
actionType
The Action type for the undo command.
|
A |
command
An action command, expressed in a generic type
A, that the action processor is able to decode. |
| Constructor and Description |
|---|
UndoCommand() |
Copyright © 2019. All rights reserved.