🔧 Service Oriented Integration ​
Service-Oriented patterns are used when systems interact through APIs, either synchronously or asynchronously. These patterns are ideal for real-time interactions or when a service needs to be explicitly triggered.
🧠Key Characteristics ​
- Direct service invocation
- Real-time or delayed response
- REST, SOAP, or GraphQL APIs
- Suitable for transactional operations
⚡ Synchronous API Request ​
A direct API call with an immediate response. Used for simple and fast integrations with real-time needs.
Example
An internal application queries an API in real time to retrieve live pricing for an item.
📨 Asynchronous API Request ​
The API call triggers a long-running or delayed process. The response is retrieved later via polling or a message bus.
Example
A request is sent to generate a production report. Once ready, the report is retrieved via polling or a message on Azure Service Bus.
✅ When to Use ​
- Real-time data access is required
- The consumer needs immediate feedback
- The process is initiated by user action or system trigger