NOTE
Sequences of one-way messages led to the concept of (business) process
chains, discussed in Section 10.6.
The advantage of the request/response message pattern is that the response is delivered to
the same process instance that triggered the initial request.
If you have no support for the request/response pattern in your infrastructure, you’ll have
to program in the ability for the providing side of the requesting system to find the right
instance to deliver the response to. In this case the consumer usually sends an internal
“return address” to the provider, which the provider sends back with the response message. The consumer process/thread that processes the incoming response message can then
use this information to internally route this response to the right process instance (i.e., the
one that initially sent the request).
đang được dịch, vui lòng đợi..