Class RepairRelationships
java.lang.Object
io.fluxzero.common.api.Request
io.fluxzero.common.api.Command
io.fluxzero.common.api.modeling.RepairRelationships
- All Implemented Interfaces:
JsonType
Command to repair or re-index the relationships for an existing aggregate.
This is particularly useful when an aggregate model evolves — for example, when child entity annotations like
@Member are introduced or corrected. It ensures that future commands targeting those entities can still
resolve the correct aggregate and maintain event consistency.
Note: This command is intended for administrative use and is not normally emitted during regular application flows.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRouting key derived from the aggregate ID to ensure consistent processing.Methods inherited from class Command
getGuarantee
-
Constructor Details
-
RepairRelationships
public RepairRelationships()
-
-
Method Details
-
routingKey
Routing key derived from the aggregate ID to ensure consistent processing.- Overrides:
routingKeyin classCommand- Returns:
- a routing key string, or
nullif not specified
-