Skip to content

ESB vs API-led connectivity

Both are ways to connect an organization’s systems so that each doesn’t have to integrate with every other one directly.

  • Enterprise service bus (ESB): a central integration platform through which systems communicate. The bus handles routing, transformation, protocol conversion and orchestration, and is usually run by a central integration team.
  • API-led connectivity: integration exposed as reusable APIs in three layers. System APIs unlock core systems, process APIs combine them into business processes, and experience APIs shape data for each channel. The approach was named and popularized by MuleSoft.
Aspect ESB API-led connectivity
Unit of integration Flows and routes on the bus Products: APIs with owners, contracts and consumers
Ownership Central integration team Distributed: system, process and experience APIs owned by the teams closest to them
Where logic lives In the bus, often including business rules In process APIs, and in the services themselves
Reuse Possible, but flows are often built per project Designed for: system APIs are reused by many processes
Change Through the central team’s backlog Teams change their own APIs, within governance
Discovery Often by asking the integration team An API catalog or developer portal
Typical runtime One shared platform Can be one platform or many gateways and runtimes
Main risk A bottleneck team and a fragile bus full of business logic Too many thin APIs, layers added for their own sake, and weak governance

The ESB solved a real problem: point-to-point integrations between dozens of systems. Its failure mode was organizational more than technical. Every change went through one team, business logic drifted into the bus where nobody else could see it, and the bus became the hardest system in the company to change or upgrade.

API-led connectivity keeps the idea of a reusable integration layer but makes each part a product with a clear owner and contract, and pushes change to the teams that need it.

  • You have many legacy systems with non-HTTP protocols (files, queues, mainframe connectors) that need heavy transformation.
  • A small central team really does need to own integration, for skills or regulatory reasons.
  • The number of integrations is modest and changes are infrequent.
  • Many channels and teams need the same core data and capabilities.
  • You want teams to deliver new experiences without queuing for a central team.
  • You can invest in an API catalog, standards, security policies and lifecycle management.

Most organizations don’t replace their ESB in one go. A strangler fig approach works well:

  1. Put system APIs in front of the core systems the bus already connects.
  2. Build new integrations as process and experience APIs on top of those system APIs.
  3. Move existing flows off the bus when they need to change anyway, rather than migrating them all at once.
  4. Pull business rules out of bus flows and into the services that own them.

Watch for the opposite failure: three layers of APIs that each just pass data through. A layer earns its place only if it’s reused or hides something that changes.

Prefer API-led connectivity for new integration work: reusable APIs with clear owners age better than flows inside a central bus. Keep an integration platform for what it’s good at, such as protocol conversion and legacy connectivity, but keep business logic out of it. Add layers only where they bring reuse.

Written and edited by Abhinav Taduka, enterprise software architect.