DecodedCompensationEvent

data class DecodedCompensationEvent<TCommand : Any>(val sagaId: String, val stepId: Long?, val command: TCommand)(source)

Strongly-typed envelope produced by CompensationCommandDeserializer.

Parameters

sagaId

originating saga's id (Saga Log Correlation).

stepId

optional id of the step being compensated; null for saga-level actions.

command

service-local typed compensation command (sealed hierarchy).

Constructors

Link copied to clipboard
constructor(sagaId: String, stepId: Long?, command: TCommand)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val stepId: Long?