How Enterprise Application Integration Works in Production: Methods, Message Flow and Worked Examples
A sales order is activated in your CRM on the second of the month. The integration that should carry it into the ERP logs a successful call and every dashboard stays green, yet the order never arrives. Nobody notices until finance runs invoicing three weeks later. That is the real work of enterprise application integration, or EAI: not connecting two systems once, but proving that every business event lands once, in the right shape, in the system that needs it.
The MuleSoft 2026 Connectivity Benchmark Report, which surveyed 1,050 IT leaders, found that IT teams spend an average of 36 percent of their time designing, building and testing new custom integrations. The same MuleSoft 2026 report found that on average 26 percent of IT projects were not delivered on time in the previous 12 months, and that 95 percent of organizations report facing integration challenges.
By the end, you will be able to trace one message from source change to target commit, compare seven EAI methods on engineering grounds and recognize how three common flows fail. You will also have a lifecycle for running each interface as an owned service.
What Enterprise Application Integration Covers in a Production Estate
Draw the boundary first. Each of these four has its own tooling, owners and failure behavior:
- EAI moves operational, transactional state between applications in real time or near real time: orders, workers, invoices, cases and items.
- ETL and ELT move historical batches into a warehouse for analytics, where a late load delays a report but ships nothing wrong.
- API management governs how APIs are exposed and consumed through gateways, policies, keys and quotas, without moving or reconciling business state.
- iPaaS is a delivery and hosting model for EAI capabilities, not a separate discipline; the mapping, idempotency and error handling problems stay yours.
EAI is traditionally described at four levels. The data level syncs database to database and bypasses application business rules, while the application interface level works through APIs and adapters and carries most current work. The business process level exposes shared services and orchestrates them, so a hire runs as one coordinated process rather than four separate syncs. The user interface level automates screens and should remain a last resort for systems with no usable interface.
If you are choosing an EAI architecture for a whole program, the comparison of hub and spoke, bus and API led designs lives in enterprise application integration patterns and selection criteria. What follows stays at the level of one message flow and one interface.
How Enterprise Application Integration Works: The Life of One Message
Detecting the Change at the Source
Push events and webhooks give the lowest latency but leave delivery guarantees with the vendor, so verify each webhook signature, acknowledge fast, process asynchronously and expect duplicates and out of order delivery. Log-based change data capture sees every committed change but needs log access that SaaS vendors rarely grant.
Polling with a high water mark works almost anywhere and fails in three quiet ways: a long-running transaction commits rows stamped earlier than your stored watermark, clock skew between servers writes timestamps out of order, and a page boundary splits rows that share one timestamp. Fix it with an overlap window behind the watermark plus de-duplication on primary key and last modified value.
Wrapping the Payload in an Envelope
Wrap the payload in an envelope at detection. Downstream steps then route, de-duplicate and trace it without parsing the body:
- a correlation ID, generated once and propagated through every hop and retry
- an idempotency key from business key, event type and version, such as order number, status and revision
- a schema version
- the source system
- event time and processing time as separate fields, because ordering follows the event, not its arrival
This applies the Correlation Identifier pattern from the Enterprise Integration Patterns catalog end to end. It is what connects a CRM change to an ERP rejection several hops later.
Transforming Into a Canonical Shape
Map each system once to a canonical model, following the case for building a canonical data model as an integration team. Separate structural mapping from value mapping, which converts code lists, units of measure, currencies, time zones and effective dates and belongs in maintained tables, not code.
Identifiers need cross reference tables, such as CRM account ID to ERP customer number, written the moment the target confirms creation. Cache enrichment lookups with a TTL, and use Claim Check for large attachments: store the file and pass only a reference.
Routing to the Right Consumers
A content-based router picks a channel from fields such as region, a recipient list fans one message out to several consumers, and a message filter drops what a consumer does not need. Keep these rules in configuration so a new consumer never requires redeploying the producer flow.
Delivery Semantics and Idempotency
End to end exactly once delivery across heterogeneous applications is not achievable in practice, because a target can commit and then fail before acknowledging. Design for at least once delivery plus an idempotent receiver.
Amazon’s 2026 SQS documentation on FIFO exactly-once processing states that FIFO queues do not introduce duplicates when SendMessage is retried within the 5-minute deduplication interval. Microsoft Learn’s 2026 Azure Service Bus duplicate detection documentation tracks an application-controlled MessageId over a window of 10 minutes by default, 20 seconds minimum and 7 days maximum, on Standard and Premium but not Basic, with larger windows cutting throughput. Microsoft recommends anchoring that MessageId to a business identifier such as a purchase order number.
Broker de-duplication only protects inside its window. A dead letter replay the next morning bypasses it, so receivers need a durable idempotency store or an upsert keyed on an external ID.
Retries, Dead Letters and Replay
Transient errors such as timeouts, 429 and 503 get exponential backoff with jitter, honor the Retry-After header and stop at a retry budget. Permanent errors such as a 400 validation failure or missing reference data go to the dead letter queue on first occurrence, since retrying only delays the alert.
Detect poison messages by delivery count, since a message that crashes the consumer never reaches your error handler. Replay tooling must keep the original correlation ID and idempotency key, or every recovery becomes a duplicate.
Securing the Payload in Transit
Use OAuth 2.0 client credentials for system-to-system calls and mutual TLS for partner and private links, with vaulted, rotated secrets. Give each interface its own least-privilege integration user instead of a shared admin account, and mask PII in logs and error payloads, since dead letter queues quietly collect unmasked records.
Tracing and Reconciliation
Technical signals show the pipe is healthy: latency, error rate, queue depth and consumer lag. Business reconciliation shows the data arrived: CRM orders created versus ERP orders received per hour, and control totals on batches. Alert on business signals, because a flow can return HTTP 200 while dropping records. The Postman 2025 State of the API Report, a survey of more than 5,700 developers, architects and executives, found that 17 percent use no monitoring tools at all.
Seven EAI Methods Compared at the Engineering Level
Each method below is judged on where logic and state live, coupling, blast radius, cost driver and fit. Most estates run several.
Point to point puts logic inside each connected pair and couples each side tightly to the other’s API, authentication and data shape. Ten fully meshed applications need forty-five connections, since the count grows as n times n minus one divided by two, and that count drives cost. Failures stay inside one link but surface late, and it suits only two or three stable systems.
Hub and spoke moves routing, transformation and often state into a central broker, so a new system costs one spoke. The hub is the blast radius, which makes clustering mandatory, and cost concentrates in hub licensing and the few people who can change it. It suits central control over a moderate number of slow-changing systems.
Message oriented middleware holds messages in queues and topics while logic stays in producers and consumers. Time decoupling lets producers publish whether or not consumers are running, so every consumer must be idempotent, because redelivery after a crash or rebalance is normal. Blast radius is one queue or partition, cost tracks broker operations and consumer lag monitoring, and broker trade-offs are compared in how RabbitMQ, Kafka and Azure Service Bus fit into enterprise integration. It suits high-volume asynchronous events.
An enterprise service bus handles routing, transformation and protocol mediation across SOAP, JMS, MQ and files, so legacy systems exchange data unchanged. Coupling to the bus is high and its blast radius is every hosted flow. The recurring failure is business logic migrating into the bus until nobody can change it safely, so specialist skills and regression testing drive cost, and it earns its place mainly in protocol-heavy legacy estates.
Microservices and API led connectivity split logic into system APIs over each backend, process APIs that orchestrate and experience APIs per channel, coupling consumers to contracts rather than implementations. That needs contract discipline, and the Postman 2025 report found that 82 percent have adopted some level of API-first development and 25 percent are fully API-first, yet while 60 percent version their APIs, only 26 percent use semantic versioning and only 17 percent use contract testing. Blast radius is one API and its callers, governance effort drives cost, and that effort is most of the work in MuleSoft integration for API-led builds on backends reused by several consumers.
B2B EDI integration keeps logic in a translator and per-partner maps, and state in control numbers and acknowledgment tracking. X12 850, 855, 856 and 810 documents move over AS2 or SFTP, each answered by a 997 functional acknowledgment, which means the file was syntactically accepted, not that the business accepted the order. Coupling, blast radius and onboarding cost are all per partner, and it is the right call whenever a partner mandates it.
iPaaS gives you a hosted runtime and prebuilt connectors, but the flows, mappings and error handling remain yours. Pricing tied to connections, flows, runtime capacity or message volume tempts lean teams to merge unrelated interfaces into one flow and couple their failures. Connectors do not remove the target API’s rate limits, and blast radius is one flow plus any vendor outage. It suits an SME with one or two integration engineers on a SaaS-heavy estate.
| Method | Where Logic Lives | Coupling | Failure Blast Radius | Main Cost Driver | Best Fit |
|---|---|---|---|---|---|
| Point to point | Each connected pair | Tight | One link | Number of links | Two or three stable systems |
| Hub and spoke | Central hub | Moderate | Every flow on the hub | Hub licensing and specialists | Slow-changing central estates |
| Message oriented middleware | Producers and consumers | Loose | One queue or partition | Broker operations | High-volume asynchronous events |
| Enterprise service bus | The bus | High | Every hosted flow | Specialist skills and testing | Protocol-heavy legacy estates |
| API led connectivity | Layered APIs | Contract-based | One API and its callers | Governance effort | Backends with many consumers |
| B2B and EDI | Translator and partner maps | Per partner | One trading partner | Partner onboarding | Partner-mandated exchange |
| iPaaS | Vendor-hosted flows | Depends on design | One flow or vendor outage | Licensing tiers | Lean SaaS-heavy teams |
No single row wins across an estate. Mid-market teams typically pair an iPaaS for SaaS flows with a broker for events and EDI for partners.
Three Enterprise Application Integration Examples and How They Fail
Order to Cash: Salesforce to ERP
Order activation in Salesforce emits a change event. The integration upserts the account into the ERP customer master by external ID, runs an optional synchronous credit check under a strict timeout budget, holding the order on timeout, then creates the sales order asynchronously. The ERP order number and status are written back to Salesforce with composite requests to reduce round trips.
Platform limits shape the design and vary by edition. Under the Salesforce Summer ’26 API request limits and allocations for API version 67.0, Enterprise Edition receives 100,000 calls plus 1,000 per Salesforce license per 24 hours plus purchased add-ons, so 15 licenses gives 115,000. The same Salesforce Summer ’26 reference allows 25 concurrent API requests lasting 20 seconds or longer in production orgs, returns REQUEST_LIMIT_EXCEEDED beyond that and times out REST and SOAP calls at 10 minutes, so a parallel replay of slow calls can lock out every other integration on the org.
Two failure modes recur. A timeout followed by a blind retry creates a duplicate ERP order unless the idempotency key is the Salesforce order ID plus revision, checked before insert. A customer created while its order failed leaves an orphan without a cross reference that later blocks re-sync, so write the cross reference immediately after creation and let re-sync adopt existing customers by external ID.
Hire to Provision to Pay: HR System Worker Events
A hire or job change completed in the HR system fans out through a recipient list to the identity provider, the payroll provider and finance cost center structures. Effective dating drives the design: a future dated hire arrives weeks early, so identity creates the account disabled and activates it on the start date while payroll holds it for the correct pay period.
Rescinded hires and corrections need compensating messages that deprovision access and reverse payroll setup, not silent deletes. Worker ID cross references between HR, identity, payroll and finance must exist before the first event, and each target receives only the PII fields it needs, so identity never sees bank details.
Accounts activated on event time rather than effective date grant access early, a correction processed before the event it corrects overwrites good data unless consumers compare event time and version, and a rescinded hire without a compensating message leaves a live account. Since no single vendor connector owns all four ends, this is a natural case for any-to-any integration across HR, identity, payroll and finance.
Procure to Pay: EDI Trading Partners Into Infor
An approved Infor purchase order is translated to an X12 850 and sent over AS2. The partner returns a 997, then an 855 acknowledgment, the 856 advance ship notice arrives before the goods and is matched at receiving, and the 810 invoice enters three way match against the purchase order and the receipt.
Four failure modes recur. Treating a 997 as business acceptance hides rejected orders, so alert on any PO with a 997 but no 855 inside the agreed window, and a missing or late 856 breaks receiving unless the dock can receive against the PO with an exception flag. Unit of measure mismatches, such as 120 each ordered against 10 cases shipped, fail the match unless per-partner conversions live in value mapping.
Partner map versions drift when a partner revises its implementation guide, so version every map and regression test against stored sample files before promoting a change. Keeping the ERP side and the partner maps under one owner is the core of Infor integration across ERP and trading partners.
Running EAI as a Lifecycle: Plan, Build, Operate, Evolve
Plan with one catalog entry per interface, recording source, target, trigger, average and peak volume, latency target, data owner, PII classification and business impact tier. That entry is what you size iPaaS tiers and API allocations against, and it decides which flows page someone at night.
Build contract first, with OpenAPI for synchronous APIs and a registered schema for events, and run contract tests in CI on every change. Keep environment parity so validation rules and field permissions match production, and use masked, production-like test data. A layered set of integration testing strategies for contracts, mappings and end-to-end flows catches most regressions before deployment.
Operate each interface with its own runbook, a named owner for every dead letter queue, and alert thresholds on business signals rather than error rates alone. An unowned dead letter queue is simply a backlog of unprocessed orders. Lean teams without an overnight rotation often hand that load to a managed integration service with defined runbooks and queue ownership.
Evolve continuously, because vendor change never stops. Salesforce’s Summer ’26 release ships API version 67.0 while the Winter ’27 preview is already 68.0, so a new version arrives with each seasonal release. Microsoft Learn’s 2026 Service Bus documentation states that the legacy WindowsAzure.ServiceBus, Microsoft.Azure.ServiceBus and com.microsoft.azure.servicebus libraries and the SBMP protocol reached end of support on 30 September 2026, so any flow still using them now runs unsupported. Track deprecations per interface and follow a process for handling API changes without taking down your integration layer.
Where to Start With Your Own Estate
A lean team cannot rebuild everything, and does not need to. Work through your estate in this order:
- Inventory every current interface, including scripts and scheduled exports nobody documented.
- Rank them by business impact, with revenue, payroll and partner commitments first.
- Add idempotency keys, dead letter ownership and business-level reconciliation to the top flows before building new ones.
Once those foundations hold, new builds become predictable. That is the point where custom integration development for the remaining gaps adds capability instead of new failure points.