The short answer. An enterprise service bus (ESB) is integration middleware you run yourself, built for systems in your own data center calling each other as services. An iPaaS (integration platform as a service) does the same core jobs, routing, transforming and connecting, as a cloud service, and it’s built for a world where most systems are SaaS apps reached over APIs. Keep an ESB where high-volume messaging runs inside your network or where policy says the integration runtime must live there. Move the rest, in phases, starting with the flows between cloud apps.
What is an enterprise service bus?
An ESB is a central layer that sits between applications and carries messages among them. Instead of wiring every system to every other system, each one connects to the bus once, and the bus does three things with each message:
- Routing. It decides which system or systems should receive the message.
- Transformation. It reshapes the message into the format the receiver expects, for example from one XML schema to another.
- Protocol mediation. It converts between the ways systems talk, such as SOAP, JMS queues, file drops and HTTP.
Each system connects through an adapter, and the bus can also expose shared services that many applications call. ESBs grew up in the 2000s alongside service-oriented architecture (SOA), and most were installed on servers the customer operated, run by a central integration team.
Well-known ESB products include IBM Integration Bus, TIBCO BusinessWorks, Oracle Service Bus, SAP Process Integration and MuleSoft’s Mule, which MuleSoft’s own ESB guide presents as its ESB: “the runtime engine of Anypoint Platform”.1
What is integration middleware?
Middleware is any software that sits between an operating system and the applications on it, or between applications. Integration middleware is the part of that whose job is to move data and actions between systems. An ESB is one type. Here are the main ones and the job each does.
| Type | What it does | Typical use |
|---|---|---|
| Message broker or queue | Carries messages between systems reliably, in order, without the sender waiting | High-volume events between services you control (IBM MQ, Kafka, RabbitMQ) |
| Enterprise service bus | Routes, transforms and converts messages between many systems through one central layer | Connecting on-premises applications in an SOA design |
| API gateway and API management | Publishes, secures, versions and meters the APIs you offer | Giving other teams, partners or agents access to your services |
| iPaaS | Connects apps, databases and APIs as a cloud service, with workflows, mapping, monitoring and access control | Connecting SaaS and on-premises systems and automating the work between them |
Most large companies run more than one. The real question is which job goes where.
ESB vs iPaaS, side by side
| What changes | Enterprise service bus | iPaaS |
|---|---|---|
| Where it runs | On servers you operate, in your data center or your cloud account | In the vendor's cloud, in a region you choose |
| Who keeps it running | Your team: capacity, patching, upgrades and high availability | The vendor |
| Connecting a new app | Build or buy an adapter, then deploy it to the bus | Choose the app from the platform's connectivity and authenticate |
| Who builds | A central integration team with specialist skills | Integration teams plus technical people in IT and operations, with role-based access |
| Systems it was built for | On-premises applications talking SOAP, queues and files | SaaS apps and APIs, with on-premises systems reached through an agent |
| What you pay for | Licenses, servers and the team that runs them | A subscription, usually measured by usage |
| AI agents | Not designed for agents calling tools | Increasingly, governed tool access for agents through MCP |
The two overlap more than the labels suggest. Both map data, both route, and both can call an API or read a queue. The real difference is operational: with an ESB, the platform is something you run; with an iPaaS, it’s something you use.
Why teams are moving off ESBs
The systems moved. An ESB assumes the important systems sit in your data center and talk SOAP, JMS or files. Today a large share of them are SaaS apps with REST APIs and OAuth, and every new one needs an adapter built or bought before the bus can reach it.
The central team became the queue. A bus that only specialists can change puts every request in one line. MuleSoft’s own guide to middleware puts it plainly: “The centralized nature of legacy ESBs often creates bottlenecks.”2
Running the platform costs as much as using it. Upgrades, capacity planning, patching and high availability fall to your team, on top of the integrations themselves.
Agents need a different kind of access. An ESB was built for services calling services in a fixed pattern. AI agents decide at run time which tool to call, so the question becomes which systems an agent can reach, with what permissions, and where every call is logged. That is an access and governance problem, and buses weren’t designed for it.
When an ESB is still the right call
Moving isn’t always the answer, and a plan that pretends otherwise tends to stall. Keep an ESB, or keep part of it, when:
- High-volume messaging runs between systems you control. If the bus carries a steady stream of events between services in your own data center, the transport is doing its job. Keep it and move the logic that consumes from it.
- Policy requires the integration runtime inside your network. A cloud iPaaS can reach on-premises systems, but the platform itself runs in the vendor’s cloud. If your rules say the runtime must run on your servers, that’s a real constraint, so raise it first.
- Deep mainframe or older-protocol work is stable. Adapters that took years to build and rarely change are often the last thing worth moving.
Everything else is a candidate, starting with flows between cloud apps.
How to move from an ESB to iPaaS
- 1
Inventory the bus
List every flow, service and queue: what it connects, how often it runs, who owns it and what breaks if it stops. Retire what nobody uses.
- 2
Sort what's left
Put each item in one of four piles: move now (flows between cloud apps), move later (older protocols and partners), keep (message transport other systems depend on), and redesign (services better published as APIs).
- 3
Connect your on-premises systems first
Set up network access to the databases, queues and applications behind your firewall before you rebuild a single flow, and agree it with your security team.
- 4
Pilot three to five flows
Pick one simple flow, one with heavy mapping and one high-volume flow, so the pilot tests the hard parts as well as the easy ones.
- 5
Move in waves, in parallel
Rebuild by system or business process. Run each wave alongside the ESB, compare outputs, and make sure only one platform writes to each target before cutover.
- 6
Retire as you go
Switch off each ESB service once its replacement has settled. Revisit the transport and the deepest adapters last.
Build net-new work on the new platform from the start. It gives the team practice on work that carries no migration risk, and it stops the bus from growing while you shrink it.
The hardest part of an ESB migration is rarely the rebuild. It’s knowing what runs on the bus, and who depends on it.
How Tray fits
Tray iPaaS does the integration jobs an ESB did, as a managed cloud service in the US, EU or APAC, so there’s no integration runtime to size or patch.
- Connectivity. Tray connects to 12,000+ apps, databases, APIs, and services, and every one is listed. That includes the systems an ESB usually sits on: IBM MQ, Kafka, RabbitMQ, SOAP services and databases through JDBC. For an in-house API, the CDK builds a custom connector from its OpenAPI spec.
- On-premises reach. On-premise agents run inside your network and make outbound connections only, so no inbound firewall rules are needed. The agent connects your systems to Tray; it doesn’t host Tray.
- Services as APIs. The service-exposure job an ESB did moves to API management: any workflow becomes a governed API, with authentication, versioning, rate limits and monitoring.
- Agents. Agent Gateway for MCP exposes any app Tray connects to as a governed MCP tool, even when the app has no MCP server of its own. Tools are scoped to their job, Tray holds the credentials, and every call is logged.
- Governance. Role-based access, audit logs, and log streaming to Splunk, Datadog or any SIEM, on a platform with SOC 1 and SOC 2 Type 2 audits and 100% workflow execution uptime over the trailing 90 days.
Tray isn’t a message broker. Where a queue carries traffic between systems you control, keep the queue, and let Tray workflows consume from it and act on what arrives.
Yext consolidated its integration work onto Tray. Its Director of IT and Business Applications, Tulasi Donthireddy, says the team can “build integrations 3x faster than with our legacy platform”, and its integration costs fell by 60% against its previous setup.
If you’re comparing destinations, the side-by-sides with MuleSoft, TIBCO, SAP Integration Suite, Oracle Integration and Boomi go row by row. For a plan specific to one platform, read Migrating off MuleSoft or Migrating off TIBCO, and for the category as a whole, What is iPaaS?.
Footnotes
-
MuleSoft, “What is an ESB?”, https://www.mulesoft.com/integration/what-is-esb, read 27 November 2026. Back
-
MuleSoft, “What is Middleware? A Complete Guide”, https://www.mulesoft.com/legacy/what-is-middleware, read 27 November 2026. Back