RetryParked
class RetryParked @InternalWowApi constructor(val subscription: String, val context: String, val aggregate: String, val tenantId: String, val id: String, val failedAt: Long? = null) : LedgerCommand
Handles the parked aggregate again from where it is parked (Ledger.RETRY).
Fields may be added: construct one with of; the constructor is internal to Wow.
Properties
Link copied to clipboard
When the entry acted on was parked (epoch milliseconds, the entry's failedAt), as the caller saw it: the owning service refuses the action as me.ahoo.wow.api.result.FrameworkCodes.LEDGER_STALE when the entry it holds was parked at another time, resolved and parked again since. Null acts on the entry it holds, whatever its parking: a retry only handles the parked streams again, so acting on the current parking loses nothing.
Link copied to clipboard