<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Talend mediation route: how to persist a variable between exchanges in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-mediation-route-how-to-persist-a-variable-between/m-p/2364492#M128230</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a route where I want to get access_token once, store it in a static variable and re-use it between exchanges.&amp;nbsp;I&amp;nbsp;couldn't use context variables for this, as modifying context variable didn't work ( doesn't persist the modified data ).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;looked into camel properties component, but looks like that is more for storing endpoints.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please suggest how to have a static variable that can be modified and persistent across&amp;nbsp;exchanges for a route. A solution that involves spring is fine too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Sowjanya.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:57:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T08:57:27Z</dc:date>
    <item>
      <title>Talend mediation route: how to persist a variable between exchanges</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-mediation-route-how-to-persist-a-variable-between/m-p/2364492#M128230</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a route where I want to get access_token once, store it in a static variable and re-use it between exchanges.&amp;nbsp;I&amp;nbsp;couldn't use context variables for this, as modifying context variable didn't work ( doesn't persist the modified data ).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;looked into camel properties component, but looks like that is more for storing endpoints.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please suggest how to have a static variable that can be modified and persistent across&amp;nbsp;exchanges for a route. A solution that involves spring is fine too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Sowjanya.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-mediation-route-how-to-persist-a-variable-between/m-p/2364492#M128230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Talend mediation route: how to persist a variable between exchanges</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-mediation-route-how-to-persist-a-variable-between/m-p/2364493#M128231</link>
      <description>&lt;P&gt;You can write a bean and use a static variable in it.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 12:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-mediation-route-how-to-persist-a-variable-between/m-p/2364493#M128231</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2017-12-13T12:41:34Z</dc:date>
    </item>
  </channel>
</rss>

