Re: Exceptions in event handlers
"Joseph Flood [email protected] [domaindrivendesign]" <[email protected]> Wed, 22 Apr 2015 00:37:23 +1000
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <CAOg4kjFUDGe3NBRZCMEWN_jokPse+k_0_FLQKw8B6_4QO=2h8A@mail.gmail.com> |
You can use process managers for this. They respond to events and issue commands to other aggregates. They may even cross boundaries ( or live in their own context). If compensating action is required, you can build this into the process manager.