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.
| Component | Role | Typical technology |
|---|---|---|
| Adapter | Connects one application to the hub | API client, file watcher, JDBC driver |
| Message router | Decides where each message goes | Content-based or rule-based routing |
| Transformation engine | Maps fields and formats | XSLT, mapping tools, scripts |
| Message store | Queues and persists messages | Message queue or database |
| Monitoring console | Tracks flows, errors and retries | Central dashboard and alerts |
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 systems | Point-to-point links | Hub-and-spoke links |
|---|---|---|
| 5 | 10 | 5 |
| 10 | 45 | 10 |
| 20 | 190 | 20 |
| 50 | 1,225 | 50 |
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.
| Approach | Topology | Main advantage | Main drawback |
|---|---|---|---|
| Point-to-point integration | Direct links between pairs | Simple for two or three systems | Unmanageable at scale |
| Hub-and-spoke integration | Central broker with spokes | Central control and visibility | Single point of failure |
| Enterprise service bus | Distributed bus with endpoints | Better scalability and resilience | Higher design complexity |
| API-led connectivity | Layered reusable APIs | Reuse and team autonomy | Requires API governance |
| iPaaS | Cloud-hosted integration service | No hub infrastructure to run | Vendor dependency |
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.
| Situation | Recommended choice | Reason |
|---|---|---|
| Three systems, stable interfaces | Point-to-point links | A hub adds overhead without benefit |
| 10 to 50 systems, one integration team | Hub-and-spoke | Central mapping and monitoring pay off |
| High volume, strict uptime targets | Clustered hub or service bus | Avoids one bottleneck |
| Many autonomous product teams | API-led or event-driven design | Reduces central dependency |
| Mostly SaaS applications | iPaaS with prebuilt connectors | No infrastructure to operate |
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.