The messages and channels model designs communication independently of the underlying messaging system. Messages travel through abstract channels, which can later map to specific broker-based infrastructure. section 8.4
Choose messaging technology from each channel’s operational requirements:
- Ordering requirements determine whether a technology can preserve the required message sequence. section 8.4
- Delivery guarantees influence the infrastructure selected for reliable message handling. section 8.4
- Transaction outbox coordinates a database update with message publication through a database transaction and a separate publisher. section 8.4
- Idempotent consumers track processed messages and discard duplicates when handlers are not naturally idempotent. section 8.4
- Competing consumers process messages concurrently to increase throughput while preserving ordering. section 8.4
