I do not get it... There is no problem with one package listening and another firing as long as it is taking place in the same application. Otherwise use API.
Oct 23, 2014
3
Level 14
Handling Events between differente Application Modules
Imagine that you have your application divided into two parts (subdomains, bounded contexts, sub-packages, or modules) and I'm thinking how to link events betwen this two parts. What would be the better way to firing events from any of these modules and handle it with the other module?
For example:
E-commerce application:
Part. Orders Fire the ProductOrdered event
Part. SupplyManagement Handle with WhenProductOrdered
If these modules are decoupled, how is the better way to link these events?
Please or to participate in this conversation.