Skip to main content

4 docs tagged with "Domain event"

View all tags

Message Consumers in NestJS

NestJS provides a declarative, decorator-based approach to request routing. When using DugongJS with NestJS, you can use a similar approach to define message consumers that handle specific domain events using a declarative syntax.

Origin

In domain-driven design, bounded contexts and context maps are essential elements of strategic modelling. A bounded context defines a linguistic boundary within which a specific ubiquitous language is used consistently. Each aggregate is owned and managed by a single bounded context and domain events for that aggregate should only be emitted from within that context.