Class Outbox
java.lang.Object
energy.eddie.regionconnector.shared.event.sourcing.Outbox
Implementation of the outbox pattern.
First persists the permission event to the event store and then emits it to the
EventBus.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcommit(PermissionEvent permissionEvent) Persist and send a permission event to the event store and event bus.
-
Constructor Details
-
Method Details
-
commit
Persist and send a permission event to the event store and event bus.- Parameters:
permissionEvent- the event to be persisted and sent
-