Replies: 1 comment 1 reply
-
You could save an integration event to some kind of an outbox, see outbox pattern. This way the integration event would be sent after SaveChanges. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. Are there any examples of raising integration events in the template?
ie, domain events are fired in the savechanges and become part of that unit of work.
I would like to fire events AFTER the save changes worked. For example, to pass an event/message to an external system. Or to send a notification/email. Things that should only happen if the save is successful.
Unless I'm missing this, I don't see anything in the template that allows for this.
Beta Was this translation helpful? Give feedback.
All reactions