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
cSetHeader, and then sent to
cTalendJobfor 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
bodyof the Job. The value for this variable is set as
worldin the Job, but changed to
Hello World!in cTalendJob.