Talend Routines Tutorial

Talend Routines Tutorial

Sometimes, you will want to write your own routines. This allows you to write code once, which you can call many times from within the same Job or from more than one of your Jobs. You may also want to Refactor complex code for readability, or use a routine to aid using external libraries that you’ve imported.

Sometimes, the components in Talend need a little more from you to get the job done. There are plenty of String transformations that you may need to custom build for your Talend jobs. In today’s tutorial, we will go through the process of creating a Talend Routine that will allow you to create custom and reusable Java code. This example will create code that implements a basic Caesar Cipher.

Step 1: Start Talend Open Studio

Step 2: Create a Routine

On the right side of your screen, under “Repository”, find the “Code” section.

Expand it, and right click on “Routines” and select “Create Routine”. Then, choose a name for your for Routine, such as “RoutineDemo”.

Step 3: Edit your Java Code