August 15, 2023

Scenario 4: Handling errors – Docs for ESB 6.x

Scenario 4: Handling errors

This scenario applies only to a subscription-based Talend Platform solution or Talend Data Fabric.

This following scenario creates a six-component Job that shows how to handle error
conditions using the tHMap component.

When tHMap executes a
Talend Data Mapper
map, an ExecutionStatus object is always returned. A pointer to this object is
stored in the globalMap as EXECUTION_STATUS. In
addition, the Overall Severity numeric value (the
constants are defined in ExecutionStatus) is also
stored in the globalMap as EXECUTION_SEVERITY.
Finally, a parameter called Execution Threshold is
defined that specifies the severity on which to throw an exception, thus triggering
Job-related or component-related error processing. The default value for this parameter
is Fatal.

To consult the Javadoc for the ExecutionStatus
object, see the Camel Runtime documentation included in the
Talend Data Mapper
runtime kits and the
Talend Data Mapper User Guide
.

use_case-thmap-scenario_error_handling.png


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x