Routines are fairly complex Java functions, generally used to factorize code. They therefore optimize data processing and improve Job capacities.
You can also 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...
User routines: these are routines which you have created or adapted from existing routines.
You do not need any knowledge of the Java language to create and use Talend routines.
All of the routines are stored under Code > Routines in the Repository tree view.
For further information concerning the system routines, see Accessing the System Routines.
For further information about how to create user routines, see How to create user routines.
You can also set up routine dependencies on Jobs. To do so, simply right click a Job on the Repository tree view and select Set up routine dependencies. In the dialog box which opens, all routines are set by default. You can use the tool bar to remove routines if required.