java.lang.Object
energy.eddie.regionconnector.shared.event.sourcing.Outbox

public class Outbox extends Object
Implementation of the outbox pattern. First persists the permission event to the event store and then emits it to the EventBus.
See Also:
  • Constructor Details

  • Method Details

    • commit

      public void commit(PermissionEvent permissionEvent)
      Persist and send a permission event to the event store and event bus.
      Parameters:
      permissionEvent - the event to be persisted and sent