Idempotent Receiver — Enterprise Integration Patterns in practice, part 15 of 24. Reliable brokers and integration runtimes redeliver after uncertain failures. The receiver may have updated the target but crashed before acknowledging the message. Retrying is correct for delivery and dangerous for non-idempotent business actions.
An Idempotent Receiver makes repeated handling of the same logical message produce the same business outcome. Deduplication must use a stable producer-assigned ID and, where possible, commit the processed-ID record atomically with the target update.
Idempotent Receiver: the architecture
Distinguish transport duplicates from repeated legitimate business commands. The key often combines producer, operation and business identifier. Retain deduplication records at least as long as messages can be replayed.
Implementation on Microsoft Azure
- Service Bus duplicate detection protects against repeated sends with the same MessageId inside a configured window; it does not replace receiver idempotency.
- Use a database unique constraint, conditional write or transactional inbox to record processed IDs next to business state.
- Complete the broker message only after the durable business outcome is known; abandon or dead-letter according to the failure class.
Implementation on Boomi
- Preserve the external MessageId in a named document property and use it as the deduplication key across retries and process re-executions.
- Check and record the key in a durable target or control store. A runtime execution ID changes on replay and cannot identify the original business message.
- Design connector operations for upsert or conditional update where the target supports them, and classify duplicate target responses as success when appropriate.
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.
Deduplication storage costs grow with retention and throughput. Hashing full payloads is usually less reliable than a contractually stable identifier.
Production checklist
- Assign stable IDs at the producer.
- Use atomic uniqueness where possible.
- Retain IDs through the replay window.
- Acknowledge only after durable success.
- Test the crash-after-commit scenario.
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 Idempotent Receiver 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
- www.enterpriseintegrationpatterns.com documentation
- learn.microsoft.com documentation
- learn.microsoft.com documentation
Continue the series: ← Content Enricher in Azure and Boomi Integrations | Dead Letter Channel: Design for Recoverable Failure →





0 Comments