What are routines - 7.2

Talend ESB Studio User Guide

EnrichVersion
7.2
EnrichProdName
Talend ESB
EnrichPlatform
Talend Studio
task
Design and Development

Routines are fairly complex Java functions, generally used to factorize code. They therefore optimize data processing and improve Job capacities.

You can use the Repository tree view to store frequently used parts of code or extract parts of existing company functions, by calling them via the routines. This factorization makes it easier to resolve any problems which may arise and allows you to update the code used in multiple Jobs quickly and easily.

On top of this, certain system routines adopt the most common Java methods, using the Talend syntax. This allows you to escalate Java errors in the Studio directly, thereby facilitating the identification and resolution of problems which may arise as your integration processes evolve with Talend.

There are two types of routines:

  • System routines: a number of system routines are provided. They are classed according to the type of data which they process, numerical, string, date, etc.

  • User routines: these are the routines which you create or adapt from existing system routines.

All routines are stored under the Code node in the Repository tree view.

Note: You can set up routine dependencies on Jobs or Joblets. For more information, see Setting up routine dependencies on a Job and Setting up routine dependencies on a Joblet.