MutableDomainEventRecord
class MutableDomainEventRecord(val actual: ObjectNode, actualAggregateId: AggregateId, actualHeader: Header, val version: Int, val ownerId: String, val spaceId: SpaceId, val commandId: String, val sequence: Int, val isLast: Boolean, val createTime: Long) : DomainEventRecord
Mutable wrapper for domain event records.
This class provides a mutable interface to domain event records stored as Jackson ObjectNode instances. It allows modification of event properties during the upgrading process.
Parameters
actualAggregateId
The aggregate identifier represented by the record
actualHeader
The message header represented by the record
See also
ObjectNode
Properties
Functions
Link copied to clipboard
fun NamedBoundedContext.getContextAlias(boundedContext: BoundedContext? = MetadataSearcher.metadata.contexts[contextName]): String
Link copied to clipboard
Gets the context alias prefix for this bounded context.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Converts a domain event record to a dropped event record.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Extension function to convert a DomainEventRecord to a MutableDomainEventRecord.