Bookmarks

ESB — enterprise service bus

An architectural pattern: a centralised component that connects the applications of an enterprise — it routes messages and converts between protocols and data formats.

checked 8 Nov

All terms

The bus grew out of enterprise integration: instead of connecting every pair of systems directly, all applications are attached to a shared bus. This loosens coupling: a system knows only the bus, not every participant in the exchange, and part of the integration logic — routing, transformations — moves out of code into configuration.

What the bus does

TaskWhat the ESB does
Routingforwards a message by destination, content or headers
Transformationconverts data and protocols: XML to JSON, SOAP to REST, a mainframe to a service
Connectivitythrough adapters, communicates with accounting systems and legacy applications
Reliabilityqueues messages while the recipient is unavailable and delivers them later
Orchestrationassembles a business process from steps and runs it

The bus and SOA

The ESB is part of service-oriented architecture: services with contracts over standard interfaces, and the bus connects them and hides the differences between protocols and formats. In practice the bus kept growing: each new integration added routes and rules to it, an update affected dozens of flows, and teams queued up for the single bus team. Over time the bus became a bottleneck and a single point of failure.

The bus and microservices

Microservices turned the idea around: “smart endpoints, dumb pipes” — the logic lives in the services, and the pipe only carries messages. Instead of a central bus there is plain transport and separate lightweight integration components owned by each team. The idea of making integration a visible part of the design rather than hiding it inside application code survived the abandonment of the bus.

Sources

the term is written from these pages

Verified 8 Nov

Not to be confused with

what it is mixed up with and how it differs

  • message broker

    A message broker moves and stores messages between applications; an ESB adds to this transformations, routing and process orchestration.

  • API gateway

    An API gateway is the entry point for clients from outside; the bus connects applications inside the enterprise.

In depth in the references

where the topic is covered in detail