Wrap-Up

We've seen the tricks to model a proper DomainEvent with a base interface, we've seen where to publish the DomainEvent (the nearer to the Entities the better), and we've seen the strategies for spreading those DomainEvents to local and remote Bounded Contexts. Now, the only thing remaining is listening for a notification in the messaging system, reading it, and executing the corresponding Application Service or Command. We'll see how to do this in Chapter 12Integrating Bounded Contexts and Chapter 5, Services.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset