Identifier Mapping
Mapping identifiers for Aggregate and Saga routing in Ecotone
Auto-Mapping from the Command/Event
#[Aggregate]
class Product
{
#[Identifier]
private string $productId;class ChangePriceCommand
{
private string $productId;
private Money $priceAmount;
}Expose Identifier using Method
Targeting Identifier from Event/Command
Targeting Identifier from Metadata
Dynamic Identifier
Advanced Identifier Mapping
Last updated
Was this helpful?