Synchronous request-response pattern
When we need to interact with a process or service and when an immediate response is required, use the synchronous interaction pattern. The following table lists the details of the synchronous request-response pattern:
Signature |
Request Response Pattern |
Classification |
Interaction Pattern |
Intent |
The intent is to invoke a service interface that is defined with the request-reply operation. The goal is to serve those scenarios that expect a response from the service provider in near real time. |
Motivation |
To invoke synchronous operations in services and BPMN processes. Essentially, a BPM process should be able to invoke a BPEL process, SOA mediator, SOA adapters, external service, and so on, which expose synchronous operations. |
Applicability |
These include the service task. |
Implementation |
When you need to design a synchronous interaction, use a service task. Service task invokes processes and services, synchronously. When a service tasks... |