Skip to content

Why are DomainEvents wrapped into Notifications into Ap layer ? #276

Answered by LukasKuchta
LukasKuchta asked this question in Q&A
Discussion options

You must be logged in to vote

OK. I found the explanation on the Kamil's blog. There are two kinds of events

  1. one is handled inside the same transaction like aggregat's operation
  2. outside the transaction. Public event / Domain notification. In the same strasaction like aggregate is only save those events into persistenat layer.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LukasKuchta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant