Companion

Functions

Link copied to clipboard
fun compensationId(execution: ExecutionId, receiptCommandId: String, ref: AggregateRef, commandType: Class<*>): String

The id, and request id, of the command to ref of commandType derived by execution for the receipt of receiptCommandId without a business key, the only one of its type to its target (#6794): a name-based UUID of the execution, the receipt's command, the target and the command type, stable for that receipt.

fun compensationId(execution: ExecutionId, receiptCommandId: String, ref: AggregateRef, commandType: Class<*>, requestId: String): String

The id, and request id, of the command to ref of commandType derived by execution for the receipt of receiptCommandId from a request whose business key is requestId (CommandRequest.requestId).