Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have a scenario to use more than on cTalendJob.
In first cTalendJob, I am getting values from API and assigning them in the Global Variable component.
In the second cTalendJob, I want to receive those Global variables and need to do further process.
But unfortunately i stuck to achieve. Can any one please shed some ideas or solution to achieve
Thanks,
Sam
Hello,
Talend Context variables in route URIs can be supplied at deployment time. Talend also uses CamelContext within its code.
Set CamelContext in cConfig. The example below, you can use getContext to get the existing context:
CamelContext my_camelContext = getContext();
System.out.println("DEBUG: " + my_camelContext.getName());
Let us know if it helps.
Best regards
Sabrina