Keeps the interface moving
Store and forward, in order, across a cluster.
Store-and-forward routes acknowledge a message after durable storage, then deliver queued messages in order with retries. NATS JetStream provides replicated queues for multiple gateway nodes. Delivery is at-least-once: a crash after a destination accepts a message can cause redelivery, so destinations should handle retries idempotently.
- With the replicated JetStream store, AA follows quorum persistence; ordered queues coordinate delivery across gateway nodes.
- Block a route on a rejection to keep ADT strictly ordered, or park rejected ORUs in dead letters and carry on.
- A configurable deduplication window suppresses repeated HL7 control IDs; downstream systems still need to handle possible redelivery.
