ReplyTo
class ReplyTo @InternalWowApi constructor(val context: String, val subscription: String, val ref: AggregateRef, val version: Int, val committed: Boolean = false)
Where the receipt of a cross-context command goes when the target rejects it: the receipts topic of context, the sender's, and the saga handler subscription (processor.function) whose execution of the commit ref@version derived it, the executionId the saga's @OnRejected handler gets. The design's {context, subscription} carries the commit too, so the receipt names the execution exactly.
committed (an addition within format 1) asks for the success receipt too: the saga has an @OnCommitted handler of the command, so the target sends the receipt of its commit there as well. A reader of an older version ignores it and sends none; one reading an older writer's reply has it false.
Constructors
Link copied to clipboard
constructor(context: String, subscription: String, ref: AggregateRef, version: Int, committed: Boolean = false)
Functions
Link copied to clipboard
The saga's execution that derived the command.