Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend mediation route: how to persist a variable between exchanges

Hi, 

 

I have a route where I want to get access_token once, store it in a static variable and re-use it between exchanges. I couldn't use context variables for this, as modifying context variable didn't work ( doesn't persist the modified data ). 

looked into camel properties component, but looks like that is more for storing endpoints. 

 

please suggest how to have a static variable that can be modified and persistent across exchanges for a route. A solution that involves spring is fine too. 

 

thanks,

Sowjanya.

Labels (2)
1 Reply
Loko
Creator II
Creator II

You can write a bean and use a static variable in it.