InterviewSolution
| 1. |
What Is The Compensation In Wps And Usage? |
|
Answer» Compensation of microflows and long-running processes can be used to “undo” the outcome of service invocations that have already completed. It is used when choreographing non-transactional services. (If all the services were transactional, you COULD have them participate in a single transaction). In long-running processes, compensation of activities that have successfully executed is INITIALLY triggered by a fault RAISED in the process, or can be explicitly triggered using a compensation activity. This is a useful technique for reversing the EFFECTS of already-committed TRANSACTIONS within a long-running process. Compensation of microflows and long-running processes can be used to “undo” the outcome of service invocations that have already completed. It is used when choreographing non-transactional services. (If all the services were transactional, you could have them participate in a single transaction). In long-running processes, compensation of activities that have successfully executed is initially triggered by a fault raised in the process, or can be explicitly triggered using a compensation activity. This is a useful technique for reversing the effects of already-committed transactions within a long-running process. |
|