Q: 2
Service Consumer A sends a message with a business document to Service A (1), which writes the
business document to Database A (2). Service A then forwards the business document to Service B
(3), which writes the business document to Database B (4). Service B then responds to Service A with
a message containing a failure or success code (5) after which Service A responds to Service
Consumer A with a message containing a failure or success code (6). Upon receiving the message,
Service Consumer A updates a log table in Database B (7). The log entry is comprised of the entire
business document. Database A is dedicated to the Service A service architecture and Database B is a
shared database.
You are told that the database updates performed by Service A and Service B must be either both
successful or they cannot happen at all. The database update performed by Service Consumer A
must happen after it is given the outcome of the database updates performed by Service A and
Service B . Given that Service Consumer A must also update Database B as part of this service
composition architecture, how is it possible to fulfill these requirements?
You are told that the database updates performed by Service A and Service B must be either both
successful or they cannot happen at all. The database update performed by Service Consumer A
must happen after it is given the outcome of the database updates performed by Service A and
Service B . Given that Service Consumer A must also update Database B as part of this service
composition architecture, how is it possible to fulfill these requirements?Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.