Procedure
-
Create two variables,
header
andbody
in theDefault
context group. Give the valueworld
to thebody
variable. Theheader
variable will receive its value propagated from the Route. For more information about context setup, see Using contexts and variables. -
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
header
andbody
respectively. Click OK to close the dialog box. -
In the Simple Expression field for
the
header
element, entercontext.header
to use the variableheader
in the context group which will be propagated from the Route.In the same field for thebody
element, entercontext.body
to use the variablebody
in 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.