Search by

archim / messaging

unixslayer

Messaging between ArchIM modules: public events, transactional outbox, reply address

v0.1.0 2026-12-03 19:05 UTC

This package is auto-updated.

Last update: 2026-12-03 19:10:50 UTC


README

How ArchIM modules talk to each other across deployments, on top of Ecotone's Distributed Bus over AMQP. Every module uses it; it knows none of them.

What it provides

  • Public events: the PublicEvent contract, their payload rules and the public.* message headers.
  • A transactional outbox (Outbox\OutboxConfig, Outbox\PublicEventOutbox): a public event is written in the transaction of the change that caused it and forwarded to the broker afterwards, retried until the broker is back; OutboxConfig::durable() and OutboxConfig::forwarding() do the same for a module's own channels.
  • Error handling (Recoverability\ErrorHandlingConfig): retries, then a dead letter in the module's database.
  • Replies across deployments (Reply\ReplyTo, Reply\ReplySender): a command carries the address its outcome is sent to.
  • Re-publication (Republication): an owner's history of public events sent again to one consumer deployed later.

Documentation

License

Apache License 2.0: see the LICENSE file.