mom Service
Messaging capability acquired through a declared System Service.
Contract mom · 1.0.0-draft.1
Functions
newChannel
Channel owned by the current scope.
No Arguments
Returns: mom.Channel
Behavior
- newChannel acquires an execution-owned channel. publish takes a subject, payload and optional properties and waits for broker acknowledgment.
- Payload byte conversion is the same as other byte-valued Service arguments. Publication acknowledgment does not mean consumer Processes completed.
- Events define payload shape and consumer mappings. Code does not install listeners. Delivery may repeat; database writes and publication are not automatically atomic.