Retry and Redelivery — Enterprise Integration Patterns in practice, part 17 of 24. Retries can recover from brief network and throttling faults. Unbounded immediate retries amplify an outage, consume worker capacity and produce duplicates. Multiple platform layers may retry the same call without anyone knowing the combined count.
Retry only failures likely to become successful without a business change. Use exponential backoff with jitter, a bounded retry budget and idempotent operations. Assign retry ownership to one layer for each boundary and route exhausted work to a visible recovery path.
Retry and Redelivery: the architecture
Write a retry matrix by error class: connect timeout, throttling, authentication, validation, conflict and business rejection. For each, define owner, maximum attempts, delay, total deadline and terminal action.
Implementation on Microsoft Azure
- Service Bus redelivery follows lock abandonment or expiry and eventually reaches maximum delivery count. Client and Function retry settings must be considered together.
- Use SDK or workflow retry policies for transient remote calls, respecting server Retry-After and overall business deadlines.
- Measure attempts per message and dependency throttling; a green final status can still hide expensive retry behavior.
Implementation on Boomi
- The Try/Catch step supports bounded immediate retries with defined delays, useful for short transient faults.
- Retry execution schedules rerun failed documents later, but review their interaction with connector retries and external queue redelivery.
- Store the original message identity so every new Boomi execution remains part of one retry story and one idempotency key.
Where the pattern earns its keep
The pattern creates value when it makes coupling, reliability or operational ownership explicit. Name the message boundary, define the contract and prove the failure path. Treat Azure resources and Boomi components as deployable implementations of that decision, with versioning and monitoring that follow the same business identifiers.
Long retry windows improve recovery from extended outages but delay visibility and retain work. Sometimes failing fast and repairing in bulk is safer.
Production checklist
- Retry only classified transient faults.
- Use backoff, jitter and a total deadline.
- Count retries across all layers.
- Preserve one idempotency key.
- Send exhausted work to owned recovery.
Measure the outcome
Track end-to-end latency, successful business outcomes, retry attempts, duplicate prevention, queue or process age and unresolved failures. Platform availability is useful, but the real service level is whether the business message reached a correct, recoverable outcome inside the promised time.
Frequently asked questions
Is Retry and Redelivery an Azure or Boomi feature?
It is an architecture pattern, not a product feature. Azure services and Boomi components implement parts of the pattern. Keeping that distinction clear lets the team compare platforms, test the intended behavior and migrate an implementation without changing the business design.
Can Azure and Boomi implement this pattern together?
Yes. A hybrid design is often strongest when one platform owns each responsibility. For example, Azure can own a durable shared channel while Boomi owns application connectivity and translation. Correlation, security, retry ownership and the recovery path must cross that boundary explicitly.
What should we prove before production?
Prove the unhappy path: dependency outage, duplicate delivery, invalid contract, timeout, restart and controlled replay. Verify the same business identifier is searchable in both platforms and that an operator can recover work without editing payloads or bypassing governance.
Primary references
Continue the series: ← Dead Letter Channel: Design for Recoverable Failure | Guaranteed Delivery with Azure and Boomi Runtimes →





0 Comments