Although this recipe is centered on the use of
tJava, it also acts as a convenient means of illustrating how the
globalMap variables can be directly referenced from within the majority of Talend components.
jo_cook_ch05_0010_tJavaContextGlobalMap, then open the context panel, and you should see a variable named
tMap_1and type in the following code:
System.out.println("tJava_1"); context.testValue ="testValue is now initialized"; globalMap.put("gmTestValue", "gmTestValue is now initialized");
tMap_2and type in the following code: ...