Creating a Job for catching the message triggered by a tDie component

Logs and errors (Integration)

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend MDM Platform
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
Talend Data Management Platform
Talend Open Studio for ESB
Talend Data Fabric
Talend Big Data
Talend Data Services Platform
Talend ESB
Talend Data Integration
Talend Open Studio for Data Integration
Talend Big Data Platform
Talend Open Studio for Big Data
task
Data Governance > Third-party systems > Logs and errors components (Integration)
Data Quality and Preparation > Third-party systems > Logs and errors components (Integration)
Design and Development > Third-party systems > Logs and errors components (Integration)
EnrichPlatform
Talend Studio

Create a Job to trigger a message using the tDie component, then catch the message using the tLogCatcher component and display the message on the console.

Procedure

  1. Create a new Job and add a tRowGenerator component, a tFileOutputDelimited component, a tDie component, a tJava component, a tLogCatcher component, and a tLogRow component by typing their names in the design workspace or dropping them from the Palette.
  2. Link the tRowGenerator component to the tFileOutputDelimited component using a Row > Main connection.
  3. Link the tFileOutputDelimited component to the tDie component using a Trigger > Run if connection.
  4. Link the tRowGenerator component to the tJava component using a Trigger > On Subjob Ok connection.
  5. Link the tLogCatcher component to the tLogRow component using a Row > Main connection.