Publish-Subscribe — Enterprise Integration Patterns in practice, part 7 of 24. A business event often matters to several consumers: fulfilment, finance, customer communication and analytics. Calling them one by one couples the publisher to their availability and creates partial-success logic.
Publish-subscribe lets a publisher emit one event without knowing its consumers. Each subscription owns an independent copy and failure lifecycle. This is not broadcast by default: consumers still need explicit contracts, access policy, retention and a way to start from a known point.
Publish-Subscribe: the architecture
Create a consumer onboarding checklist: purpose, filter, expected volume, maximum lag, retry policy, dead-letter owner and contract version. A subscription without an owner becomes retained technical debt.
Implementation on Microsoft Azure
- Service Bus topics and subscriptions suit durable enterprise events where every subscriber needs its own queue and dead-letter path.
- Subscription filters reduce unnecessary delivery, but filter properties are part of the event contract and need compatibility tests.
- Use Event Grid when event notification and push delivery fit better than brokered command-style messaging; choose semantics before service branding.
Implementation on Boomi
- Boomi can listen to Azure Service Bus subscriptions through its Microsoft Azure Service Bus connector. Each process should receive from a dedicated subscription.
- Native Boomi runtime queues support publish-subscribe when that capability is enabled and the scope remains inside the runtime landscape.
- Keep the publishing process independent of downstream profiles; publish a governed event contract, not the source application payload.
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.
Publish-subscribe improves autonomy but multiplies storage, monitoring and schema compatibility obligations. Events should describe facts that happened; do not disguise commands as events to avoid assigning ownership.
Production checklist
- Use past-tense event names.
- Give each consumer its own subscription.
- Define retention and starting behavior.
- Contract-test filters and schemas.
- Alert on age and dead-letter count per subscription.
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 Publish-Subscribe 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: ← Dynamic Router and Recipient List on Azure and Boomi | Competing Consumers: Scale Integration Workers Safely →





0 Comments