Dead Letter Channel: Design for Recoverable Failure

Dead Letter Channel for recoverable Azure and Boomi failures

Written by Jan Daris

Jan Daris is a hands-on Integration Architect and Developer who enjoys solving complex integration puzzles with Azure, Boomi, APIs, and event-driven architecture. Through this blog, he shares practical knowledge, lessons learned, and real-world solutions to help other architects, developers, and IT teams build better integration platforms.

March 24, 2026

Dead Letter Channel — Enterprise Integration Patterns in practice, part 16 of 24. Poison messages can block a consumer or retry forever. Moving them aside restores flow, but an unattended dead-letter queue merely hides lost business work.

A Dead Letter Channel stores messages that cannot be delivered or processed automatically. It must preserve the original identity and payload plus failure reason, stage, timestamp, attempt count and ownership. Recovery is part of the pattern, not a future support task.

Dead Letter Channel: the architecture

Consumer failure
Classify
Dead-letter store
Repair
Controlled replay
Original HTML diagram: Dead Letter Channel mapped across an Azure and Boomi integration flow.

Create failure categories such as transient, contract, authorization, reference-data and business rejection. Give each category an owner, alert threshold, retention and permitted replay action.

Implementation on Microsoft Azure

  • Service Bus queues and subscriptions have built-in dead-letter subqueues. Messages can arrive because of delivery count, expiration rules, filter errors or explicit application decisions.
  • Monitor active and dead-letter counts and oldest age. Build a repair tool or controlled process that resubmits with the original business identity.
  • Separate transient dependency failures from validation or contract failures; the latter should usually move to repair sooner.

Implementation on Boomi

  • Use Try/Catch to capture failed documents, preserve the original document and attach the Try/Catch message before writing to an error channel or store.
  • A Boomi process can publish failures to a dedicated Service Bus queue, Atom Queue or governed error repository depending on the operating model.
  • Retry schedules rerun failed documents, but repeated failure without classification can become an automated retry storm.

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.

Dead-lettering keeps healthy traffic moving but relaxes immediate consistency. Some business flows require stopping the channel instead; make that exception explicit.

Production checklist

  • Preserve original ID, body and diagnostic context.
  • Classify retryable and non-retryable failure.
  • Alert on count and oldest age.
  • Build audited repair and replay.
  • Test that replay remains idempotent.

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 Dead Letter Channel 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: ← Idempotent Receiver: Make Duplicate Delivery Safe  |  Retry and Redelivery Without Creating a Retry Storm →

You May Also Like…

0 Comments