Exam Salesforce-MuleSoft-Developer-II Topic 5 Question 21 Discussion
Actual exam question for Salesforce's Salesforce-MuleSoft-Developer-II exam
Question #: 21
Topic #: 5
Question #: 21
Topic #: 5
A Mule implementation uses a HTTP Request within an Unit Successful scope to connect to an API.
How should a permanent error response like HTTP:UNAUTHORIZED be handle inside Until Successful to reduce latency?
How should a permanent error response like HTTP:UNAUTHORIZED be handle inside Until Successful to reduce latency?
Suggested Answer: B Vote an answer
To handle a permanent error response like HTTP:UNAUTHORIZED inside Until Successful, the developer should put the HTTP Request inside a try scope in Unit Successful, and use On Error Continue to catch permanent errors like HTTP UNAUTHORIZED in the error handler. This way, the developer can avoid retrying requests that will always fail due to a permanent error, and reduce latency. On Error Continue allows the flow to continue processing after handling the error. Reference: https://docs.mulesoft.com/mule-runtime/4.3/until-successful-scope https://docs.mulesoft.com/mule-runtime/4.3/on-error-continue-concept
by Isidore at Aug 25, 2024, 10:29 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).