You are not logged in.

Unanswered posts

Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at We look forward to hearing from you there!

#1 2017-03-10 00:03:52

4 posts

SupriyaPasham said:

[resolved] How to pass tJava output as header data to tRest client component

 am creating a Job to set cookie value for tRestClient component.
To acheive this task i wrote a Java code in tJava component and i am able to extract cookie data with this Java code. Now i want to pass this data to tRestClient component.
Please suggest a way to resolve pass the cookie data.

  • More details: Below is the expected talend job structure

tJava -> tRestClient


#2 2017-03-10 10:20:13

Talend Team

shong said:

Re: [resolved] How to pass tJava output as header data to tRest client component

You can store the cookie value to a context variable or global variable for used on tRestClient. eg:
tJava ->oncomponentok--> tRestClient

on tJava:
String cookie=your java code;

on tRestClient, you can get the cookie value with this expression:

Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the global leader of open source data management and application integration solutions!


Board footer

Talend Contributor Agreement - Talend Website Privacy Policy