Skip to content

Commit

Permalink
feat: run message relay on console.terminate event (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi authored Mar 12, 2024
1 parent 409019c commit 9d8cc9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.2.1

* feat: run message relay on `console.terminate` event

## 2.2.0

* refactor: spin off `DomainEventStore` from `DomainEventAwareEntityManager` for
Expand Down
4 changes: 4 additions & 0 deletions packages/domain-event-outbox/config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@
'event' => 'kernel.terminate',
'method' => 'onTerminate'
])
->tag('kernel.event_listener', [
'event' => 'console.terminate',
'method' => 'onTerminate'
])
->tag('kernel.reset', ['method' => 'reset']);;

$services
Expand Down

0 comments on commit 9d8cc9c

Please sign in to comment.