Dispatch Committed Business Events
What It Does
A business write records an event; a post-commit wake-up or minute schedule starts dispatch. The source handlers delegate queue mechanics to the shared event library. Native intake fills openings from appointment-started events. The design describes that declared contract without treating an imported library wrapper as an independent execution test.
The Flow
Persist the event and subscriber delivery work with the business transaction. Claim delivery rows and send subscriber messages from the scheduled or nudged dispatcher. Invoke each destination and return partial batch results. Route native Committees envelopes in their workspace and refuse unknown subscriber keys.
When Something Fails
Abort the business write. No event survives a rolled-back change. Keep unaccepted rows for another dispatch pass. Subscribers receive the event later. Allow the queue to redeliver failed messages. Subscriber effects can be delayed or repeated. Return failure for retry; unroutable envelopes eventually reach the publisher’s dead letter path. No native effect until delivery succeeds.
Open Design Questions
The source handlers delegate queue mechanics to the shared event library. Native intake fills openings from appointment-started events. The design describes that declared contract without treating an imported library wrapper as an independent execution test.