O'Reilly logo

Talend Open Studio Cookbook by Rick Barton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Manually checking and setting contexts

This method is very similar to the tContextLoad; however, instead of using tContextLoad to select the file and load and validate the key value pairs, this is performed by custom Java code, within a tJavaRow component, as described in the recipe Setting context variables and globalMap variables using tJava in Chapter 5, Using Java in Talend.

Pros

This method allows the finest grain selection and setting of context variables.

As with the implicit context load and tContextLoad, use of external files is a good practice for managing contexts, because they are less likely to be overwritten during deployment.

This method provides the developer with the ability to validate individual values and kill the job if they are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required