Exam4Training

Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?

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?
A . A configuration properties file
B . Nowhere, the global error handler is automatically used
C . A global element
D . The pom.xml file

Answer: C

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 click OK.

Exit mobile version