Click the Code tab at the bottom of the
design workspace to check the generated code.
As shown above, a message route is built from the Starter,
set a message header by the cSetHeader, and then
sent to cTalendJob for the execution of the Job.
Press F6 to execute the Route.
As shown above, the header and body of the message is printed in the
execution console by the tLogRow. The
header value is FileName. It is defined by the cSetHeader and passed to the Job as a context
variable. The body value is Hello World!. It is defined by
tRouteInput using the context variable
body of the Job. The value for this variable is set as
world in the Job, but changed to Hello World!
in cTalendJob.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!