One Star

Get returned value by Tsystem + .jar

Hello, i am using a tsystem component which launch a .jar file.
My jar file return an int and i would like to get this value in talend.
Is it possible? Finally, the goal is to do something like that: context.paramA = JarReturnedValue;

Thank you in advance
2 REPLIES
Seven Stars

Re: Get returned value by Tsystem + .jar

You should be able to capture it with (Integer)globalMap.get("tSystem_1_EXIT_VALUE").
One Star

Re: Get returned value by Tsystem + .jar

thank you!!