July 30, 2023

tRouteOutput – Docs for ESB 7.x


Sends messages from a Data Integration Job to a Mediation Route.

tRouteOutput Standard properties

These properties are used to configure tRouteOutput running in the Standard Job framework.

The Standard
tRouteOutput component belongs to the ESB family.

This component is relevant only when used with one of the
solutions with ESB, as it should be used with the Service Repository node and the Data Service creation related wizard(s).

Basic settings

Output Schema

A schema is a row description. It defines the number of fields
(columns) to be processed and passed on to the next component. When you create a Spark
Job, avoid the reserved word line when naming the

Click Edit
to make changes to the schema. If the current schema is of the Repository type, three options are available:

  • View schema: choose this
    option to view the schema only.

  • Change to built-in property:
    choose this option to change the schema to Built-in for local changes.

  • Update repository connection:
    choose this option to change the schema stored in the repository and decide whether
    to propagate the changes to all the Jobs upon completion. If you just want to
    propagate the changes to the current Job, you can select No upon completion and choose this schema metadata
    again in the Repository Content

Click Sync columns to retrieve
the schema from the previous component connected in the Job.


Built-in: No property data stored


Repository: Select the Repository
file where Properties are stored.


Enter the message parameters corresponding to the columns you
defined in the schema dialog box via the Edit


Select between:

Body: Used to set the body of a
Route, equals the code

Property: Used to set the
property of a Route, equals the code
exchange.setProperty(name, value).

System: Used to set the system
property, equals the code System.setProperty(name,

Header: Used the set the output
header, equals the code exchange.getOut().setHeader(name,


This column is used to set the name for the parameter when its
type is either Property, System or Header. This column is ignored when the type is

Advanced settings

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at a
Job level as well as at each component level.

Global Variables

Global Variables 

ERROR_MESSAGE: the error message generated by the
component when an error occurs. This is an After variable and it returns a string. This
variable functions only if the Die on error check box is
cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable
functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl +
to access the variable list and choose the variable to use from it.

For further information about variables, see
Talend Studio

User Guide.


Usage rule

This component can be used as the end component and thus
requires an input component. It is mandatory that a tRouteInput component is used in the Data Integration Job to be
called by a Route using the cTalendJob
component. The reason for it is that this will prevent the referenced Job from
starting automatically when deployed in
Talend Runtime
. Instead it will only start when it gets called by the Route.

For more information about how to use the cTalendJob component, see cTalendJob.


The Job using a tRouteOutput
must be launched only within a Route using the cTalendJob component.

Related scenario

For a scenario in which tRouteOutput is used, see Exchanging messages between a Job and a Route.

Document get from Talend https://help.talend.com
Thank you for watching.
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x