Messaging¶
rn_forge.commons.integration.messaging
¶
Messaging protocols: a transport-agnostic publish interface.
No delivery guarantees are implied. publish is fire-and-forget from the
protocol's point of view — retries, at-least-once delivery, and transactional
outbox semantics are the caller's responsibility.
AsyncMessageBus
¶
Bases: Protocol
The async counterpart of :class:MessageBus.
publish(destination, event)
async
¶
Publish event to destination. Fire-and-forget; no delivery guarantee.
HandlerRegistry()
¶
Maps a message type to its handler. Instantiable — no module-level registry.