Namespace Integrations.Infrastructure.Messaging.Redelivery
Classes
- DeferredMessage
A consumed message that could not be handled yet (see RetryLaterPolicy), parked in Postgres until it is due and then sent back to the queue it came from. Broker-agnostic delayed redelivery: RabbitMQ has no built-in delayed delivery, and the delayed-exchange plugin does not support current RabbitMQ releases.
- DeferredMessageRedeliveryJob
Sends deferred messages that are due back to the queue they came from. The send goes through the transactional outbox together with deleting the row, so a message is never lost or sent twice by this job.
- RetryLaterPolicy
Which consumer failures are worth trying again later rather than sending the message to
_errornow. Everything here can resolve itself without anyone fixing the message: the original document arrives or is committed, a concurrent writer finishes, the tax provider comes back.