Hub-and-spoke integration

On this page 7

Hub-and-spoke integration is an integration architecture in which every application connects to one central hub rather than to each other, and the hub receives, transforms and routes messages between them. In integration work within automation, it is the classic answer to the tangle of direct links that grows when an organization connects many systems one pair at a time.

Each connected system is a spoke that needs only one adapter to the hub. The hub holds the routing rules, data mappings and monitoring, so adding a new application means building one connection instead of a link to every existing system.

How the hub routes and transforms messages

The hub works as a central message broker with several cooperating parts. An adapter on each spoke translates the application’s native interface, such as a database table, file drop or API, into messages the hub understands. The hub then applies routing logic to decide which spokes should receive each message.

Before delivery, the hub performs data transformation, converting fields, formats and code values from the sender’s structure into the receiver’s structure. Many hubs translate every message into a canonical data model first, so each spoke needs only a mapping to and from that shared format rather than to every partner format.

ComponentRoleTypical technology
AdapterConnects one application to the hubAPI client, file watcher, JDBC driver
Message routerDecides where each message goesContent-based or rule-based routing
Transformation engineMaps fields and formatsXSLT, mapping tools, scripts
Message storeQueues and persists messagesMessage queue or database
Monitoring consoleTracks flows, errors and retriesCentral dashboard and alerts
Building blocks of a hub-and-spoke system

Because every message passes through the hub, it is the natural place for logging, auditing and retry handling. Operators can see failed deliveries in one console and replay them after the receiving system recovers.

Hubs support both synchronous request-reply and asynchronous messaging. Asynchronous delivery through queues is the more robust default, because a slow or offline spoke does not block the sender, and the hub can apply guaranteed delivery with acknowledgments and dead-letter handling for messages that repeatedly fail.

Why the number of connections matters

The main motivation for hub-and-spoke is the connection count. In point-to-point integration, fully connecting n systems can require up to n(n-1)/2 interfaces, while a hub needs only n connections. The gap widens quickly as the landscape grows.

Number of systemsPoint-to-point linksHub-and-spoke links
5105
104510
2019020
501,22550
Interfaces needed to connect every system

Real landscapes rarely need every possible pair, so the actual saving is smaller than the theoretical maximum. Even so, fewer interfaces mean fewer credentials, fewer mappings to maintain and a lower cost of change when one application is replaced, because only its single spoke must be rebuilt.

Hub-and-spoke compared with other integration styles

Hub-and-spoke sits between simple direct links and distributed architectures. It centralizes both logic and infrastructure, which distinguishes it from the enterprise service bus, where integration logic is spread across a bus of cooperating services, and from API-led connectivity, where reusable APIs are organized in layers.

ApproachTopologyMain advantageMain drawback
Point-to-point integrationDirect links between pairsSimple for two or three systemsUnmanageable at scale
Hub-and-spoke integrationCentral broker with spokesCentral control and visibilitySingle point of failure
Enterprise service busDistributed bus with endpointsBetter scalability and resilienceHigher design complexity
API-led connectivityLayered reusable APIsReuse and team autonomyRequires API governance
iPaaSCloud-hosted integration serviceNo hub infrastructure to runVendor dependency
Comparison with neighboring integration approaches

Many modern iPaaS products are logically hub-and-spoke: the vendor’s cloud acts as the hub, and prebuilt integration connectors serve as spokes. The difference lies in operation, because the provider scales and patches the hub rather than the customer’s own team.

When to choose a hub-and-spoke design

Hub-and-spoke fits best when an organization needs central governance over a moderate number of systems and a small integration team that owns all mappings. It is less suitable when message volumes are extreme or when independent teams need to release integrations without waiting for a central group.

SituationRecommended choiceReason
Three systems, stable interfacesPoint-to-point linksA hub adds overhead without benefit
10 to 50 systems, one integration teamHub-and-spokeCentral mapping and monitoring pay off
High volume, strict uptime targetsClustered hub or service busAvoids one bottleneck
Many autonomous product teamsAPI-led or event-driven designReduces central dependency
Mostly SaaS applicationsiPaaS with prebuilt connectorsNo infrastructure to operate
Decision guide

A practical rule is to plan for high availability from the start: run the hub as a cluster, persist messages in durable queues and define how spokes behave when the hub is unreachable.

Limitations and failure modes

The central hub is both the strength and the weakness of the design. Experienced integration architects watch for the following risks.

  • Single point of failure: if the hub stops, all integrations stop unless it is clustered.
  • Performance bottleneck: every message consumes hub capacity, so peaks affect all spokes.
  • Central team bottleneck: one group owning all mappings can slow delivery for the business.
  • Logic creep: business rules placed in the hub become hard to test and own.
  • Vendor lock-in: proprietary adapters and mapping formats make migration expensive.

Most of these risks are manageable. Keeping the hub focused on routing and transformation only, while business decisions stay in the applications, preserves the benefits of central control without turning the hub into an unmaintainable monolith.

In plain words

Hub-and-spoke integration works like an airline hub airport. Passengers do not fly directly between every pair of small cities. They fly to one large airport and change planes there.

Computer systems can share information the same way. Each system sends its data to one central hub. The hub translates the data and passes it to the right destination. The key takeaway is that each system needs only one connection, which makes the whole setup easier to manage.

A real-world example

A mid-sized hospital group ran 14 clinical and administrative systems, including a patient registry, laboratory software, radiology, pharmacy and billing. Over the years, staff had built more than 40 direct interfaces, and each software upgrade broke several of them.

The group introduced an integration engine as a central hub. Each system received one adapter, and the hub translated HL7 messages into a shared internal format before routing them. A patient admission from the registry now reaches laboratory, pharmacy and billing through a single published message.

When the laboratory system was replaced two years later, the team rebuilt only one spoke instead of eight separate interfaces. Failed messages became visible in one console, and the time to diagnose interface errors dropped from days to hours.