nerdexam
MuleSoft

MCD-LEVEL-1 · Question #59

A Mule application contains a global error handler configured to catch any errors. Where must the global error handler be specified so that the global error handler catches all errors from flows…

The correct answer is C. A global element. Correct answer is A global element Global error handlers are to be created in global element . Quick note to remember here is Global error handlers come in to picture only when there are no error handlers specified as flow level. Steps to create Global error handler 1) Click…

Error Handling

Question

A Mule application contains a global error handler configured to catch any errors. Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?

Exhibit

MCD-LEVEL-1 question #59 exhibit

Options

  • AA configuration properties file
  • BNowhere, the global error handler is automatically used
  • CA global element
  • DThe pom.xml file

How the community answered

(26 responses)
  • A
    4% (1)
  • C
    92% (24)
  • D
    4% (1)

Explanation

Correct answer is A global element Global error handlers are to be created in global element . Quick note to remember here is Global error handlers come in to picture only when there are no error handlers specified as flow level. Steps to create Global error handler 1) Click Global Elements to open Global Configuration Elements. Global Elements is located below the Studio canvas 2) In Global Configuration Elements, click Create to open the Choose Global Type dialog 3) From the dialog, select Global Configuration -->Configuration, and then click OK to open the Configuration dialog. 4) From the select Configuration dialog, select allErrorHandler for the Default Error Handler field, and

Topics

#global error handler#error handling#global element configuration

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice