Creating a Job for catching the message triggered by a tDie component
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
- 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.
- Link the tRowGenerator component to the tFileOutputDelimited component using a Row > Main connection.
- Link the tFileOutputDelimited component to the tDie component using a Trigger > Run if connection.
- Link the tRowGenerator component to the tJava component using a Trigger > On Subjob Ok connection.
- Link the tLogCatcher component to the tLogRow component using a Row > Main connection.