The problem worth understanding
Two systems can exchange technically valid messages and still disagree about the business. An identifier may mean an account in one tool and a billing relationship in another; a successful response may only mean a message reached a queue. The integration must define the meaning of information, the authority to change it and how people resolve a disagreement when normal delivery does not finish the task.
A considered approach
Map the systems, owners and direction of each exchange. Define an explicit contract for identifiers, required values, formats and state changes. Start with one meaningful business event and follow it through acknowledgement, application and reconciliation. Include duplicates, delayed delivery and partial failure in the design. Give operations a readable status and a recovery action that does not require guessing whether replaying a message will create a second business record.
Decisions and tradeoffs
Immediate exchange may suit interactive work but couples the availability of two systems. Queued exchange can tolerate interruptions while introducing delay and additional status. Choose based on the user task and the cost of waiting, not a preference for a particular architecture. Store only the diagnostic information needed to operate the connection; sensitive payloads should not become the default content of logs.
Useful artifacts
Useful artifacts include a source-of-truth map, example message contract, identifier mapping, failure catalogue and reconciliation procedure. Acceptance checks need evidence that business information arrived correctly, not only that a network request returned an expected code. Agree who owns recovery across the boundary before launch.
A useful question
How would your team discover an update that arrived but was never applied?
Questions worth checking.
- Is each field owned by a named system or process?
- Can a duplicate be recognized safely?
- Can an operator distinguish waiting, rejected and successfully applied information?