How it works · 39 of 49 Core
What are SOA and an enterprise service bus (ESB)?
The smart middle microservices rebelled against
SOA & the enterprise service bus: An enterprise service bus puts routing, translation and business rules in one shared middle that every message passes through. It is easy to start and to govern, but once many teams depend on it every change queues for the one team that owns it; microservices moved the rules back into the services and kept the pipe dumb.
Loading the animation…
Say it like this An enterprise service bus puts routing, translation and business rules in one shared middle that every message passes through; it is easy to start and govern, but once many teams depend on it every change queues for one team, which is why microservices moved the rules back into the services and kept the pipe dumb.
Under the hood — for builders
- Worked example: one renamed field
- On the card Orders calls a customer "cust_id" and Billing calls it "customerNo". With a bus, the bus team owns that rename, beside every other team's rules. When Billing renames the field again, it files a ticket and waits its turn. Without a bus, Billing changes its own adapter and ships.
- The sources, in their words
- IBM: "An enterprise service bus (ESB) is an architectural pattern whereby a centralized software component performs integrations"; "application teams soon found themselves waiting in line for their integrations"; "in many other organizations the ESB came to be seen as the bottleneck." Lewis and Fowler, 2014: ESB products offer "message routing, choreography, transformation, and applying business rules"; microservices favour "smart endpoints and dumb pipes".
- Terms
- SOA (service-oriented architecture): systems offer their functions as services over a network. ESB: the shared middleware those services talk through. Transformation: rewriting a message's format for the receiver. Endpoint: the service at either end of a message. Dumb pipe: a transport that delivers messages without reading or changing them (a queue, plain HTTP).
- Run here: the middle wins small, then drowns
- Median days a change waits. One central team pools the work, so with few teams it is faster; but its capacity stays fixed while requests grow with every team.
- What IBM lists against the central bus
- "Making changes or enhancements to one integration could destabilize others who used that same integration." "Updates to the ESB middleware often impacted existing integrations." "Implementing high availability and disaster recovery for the ESB servers became more costly." And what it offered: "A single team of specialists can be tasked … to develop and maintain the integrations."
- Measure it
- Lead time for an integration change, request to live · share of business rules living in middleware · teams blocked on the integration team's queue · integrations broken by a middleware upgrade.
- Watch out
- Dumb pipes don't remove translation, they spread it: six teams now keep six adapters, and a shared rule must be changed in each. A small company with few systems may do better with one integration team. Keep the transport (queues, HTTP); move the business rules out.
- Sources
- IBM, "What Is an Enterprise Service Bus (ESB)?" · James Lewis and Martin Fowler, "Microservices", martinfowler.com, 25 March 2014, "Smart endpoints and dumb pipes" · both read in session · change-queue simulation, Python, 21 Nov 2026.
What happens in the SOA & the enterprise service bus animation, step by step?
- SOA joined a company's systems through an enterprise service bus: every message goes via the middle, which routes it, rewrites it and applies rules. Orders says "cust_id"; Billing hears "customerNo".
- Each rule added to the middle made sense alone. Together they make the middle the one place every change must queue: at ten teams, a one-word change waits weeks.
- Your turn: tap each rule card to hand it back to the team that owns it.
- Smart endpoints, dumb pipes: the middle only carries notes now. Billing renames cust_id itself, and each team changes its own rules without queueing.
- The cost: six teams each keep their own translation, so one shared rule becomes six copies to keep in step. Next: when the same stream must give fast numbers and exact history, Lambda vs Kappa.
What everyday example explains SOA & the enterprise service bus?
An interpreter at the centre of the table who rewrites every sentence. Useful while few people talk; once the interpreter also keeps everyone's house rules, every new phrase waits for them.
Why should a team care about SOA & the enterprise service bus?
Every company joining many systems decides where the translation and the rules live: in one shared middle (one team, one queue) or at each end (many copies, no queue).