SimpleWaitSignal
data class SimpleWaitSignal(val id: String, val waitCommandId: String, val commandId: String, val aggregateId: AggregateId, val stage: CommandStage, val function: FunctionInfoData, val aggregateVersion: Int? = null, val isLastProjection: Boolean = false, val errorCode: String = ErrorCodes.SUCCEEDED, val errorMsg: String = ErrorCodes.SUCCEEDED_MESSAGE, val bindingErrors: List<BindingError> = emptyList(), val result: Map<String, Any> = emptyMap(), val commands: List<String> = listOf(), val signalTime: Long = System.currentTimeMillis()) : WaitSignal
Simple implementation of WaitSignal.
This data class provides a concrete implementation of the WaitSignal interface with all necessary properties for tracking command processing stages.
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
See also
Constructors
Link copied to clipboard
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())