SimpleWaitSignal
constructor(id: String, waitCommandId: String, commandId: String, aggregateId: AggregateId, stage: CommandStage, function: FunctionInfoData, aggregateVersion: Int? = null, isLastProjection: Boolean = false, errorCode: String = ErrorCodes.SUCCEEDED, errorMsg: String = ErrorCodes.SUCCEEDED_MESSAGE, bindingErrors: List<BindingError> = emptyList(), result: Map<String, Any> = emptyMap(), commands: List<String> = listOf(), signalTime: Long = System.currentTimeMillis())
Parameters
id
unique identifier for this signal
waitCommandId
the command ID being waited on
commandId
the command that generated this signal
aggregateId
the aggregate this signal relates to
stage
the processing stage this signal represents
function
information about the function that generated this signal
aggregateVersion
the aggregate version at signal time (optional)
isLastProjection
whether this is the final projection
errorCode
error code if processing failed
errorMsg
error message if processing failed
bindingErrors
validation errors if any
result
additional result data
commands
command IDs sent by Saga
signalTime
timestamp when this signal was generated