mulesoft exceptions
TRANSCRIPT
![Page 1: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/1.jpg)
Exceptions
![Page 2: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/2.jpg)
Exceptions• Choice Exception Strategy.• Catch Exception.• Rollback Exception.
![Page 3: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/3.jpg)
Choice Exception
Criar um tipo de choice pra exception
![Page 4: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/4.jpg)
HTTP Settings
![Page 5: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/5.jpg)
![Page 6: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/6.jpg)
![Page 7: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/7.jpg)
![Page 8: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/8.jpg)
Type of exception that should be catch here:
![Page 9: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/9.jpg)
Type of exception that should be catch here:
![Page 10: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/10.jpg)
Type of exception that should be catch here:
![Page 11: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/11.jpg)
Rollback Exception Strategy
• You can define a Rollback Exception Strategy to ensure that a message that throws an exception in a flow is reverted to a process again. Usually, this is used on a transaction flow. If a transaction fails, the rollback exception strategy reverts the transaction of the flow.
![Page 12: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/12.jpg)
![Page 13: Mulesoft Exceptions](https://reader030.vdocuments.mx/reader030/viewer/2022020108/58cfb4471a28ab223a8b585d/html5/thumbnails/13.jpg)
Done!• Documentation:• https://docs.mulesoft.com/mule-user-guide/v/3.7/rollback-exception-
strategy#sts=Rollback Exception Strategy