In one of the critical payment related mule application, transaction is being used . As an enhancement to implementation , scatter gather route is introduced which is also the part of transaction group. Scatter gather route has 4 routes.
What will be the behavior of the Mule application in case of error occurs in 4th route of the scatter - gather router and transaction needs to be rolled back?
- Only errored route will be rolled back
- All routes will be rolled back
- Scatter Gather router cannot be part of transaction
Answer(s): B
Explanation:
• Scatter Gather: When running within a transaction, Scatter Gather does not execute in parallel. This means that the second route is executed after the first one is processed, the third after the second one, etc. In case of error, all routes will be rolled back
Reveal Solution Next Question