Create two variables,
Defaultcontext group. Give the value
headervariable will receive its value propagated from the Route. For more information about context setup, see Talend Studio User Guide.
Double-click the tRouteInput
component to open its Basic settings
view in the Component tab.
Click [...] next to Edit Schema. In the schema dialog box, click
[+] to add two lines of String type and name them
bodyrespectively. Click OK to close the dialog box.
In the Simple Expression field for
context.headerto use the variable
headerin the context group which will be propagated from the Route.In the same field for the
context.bodyto use the variable
bodyin the context group as the message body.
- The tLogRow component will monitor the message exchanges and does not need any configuration.
- Press Ctrl+S to save your Job.