<?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 Re: Can I use value from a context variable or a global variable in setHeader component? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Can-I-use-value-from-a-context-variable-or-a-global-variable-in/m-p/2365647#M129232</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Sorry for delay.&lt;/P&gt;
&lt;P&gt;We have redirected your issue to ESB experts and then come back to you as soon as we can.&lt;/P&gt;
&lt;P&gt;Thanks for your time.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2017 07:38:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-28T07:38:22Z</dc:date>
    <item>
      <title>Can I use value from a context variable or a global variable in setHeader component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-I-use-value-from-a-context-variable-or-a-global-variable-in/m-p/2365646#M129231</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am new to Talend. I am writing a route to encrypt plain file in a directory.&lt;/P&gt; 
&lt;P&gt;I am using CJavaDSLprocessor (.mashal(pgpSignAndEncrypt)&amp;nbsp; encrypt and sign the file in the directory.&lt;/P&gt; 
&lt;P&gt;Before cJavaDSLprocessor, does sign and encryption,&amp;nbsp; I will need to setHeader component to have all following header value set&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"CamelPGPDataFormatSignatureKeyRing"&lt;/P&gt; 
&lt;P&gt;"CamelPGPDataFormatKeyPassword"&lt;/P&gt; 
&lt;P&gt;"CamelPGPDataFormatEncryptionKeyRing"&lt;/P&gt; 
&lt;P&gt;"CamelPGPDataFormatKeyUserids"&lt;/P&gt; 
&lt;P&gt;"CamelPGPDataFormatNumberOfEncryptionKeys"&lt;/P&gt; 
&lt;P&gt;"CamelPGPDataFormatSignatureKeyUserid"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The values were retrieved from database dynamically in a sub-route ( direct from multicast, I could not set header in there since it is different message) .&amp;nbsp; &amp;nbsp;I am thinking to set them in the globallMap or context variable,&amp;nbsp; and then set in cSetHeader component before sign and encrypt the file.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do anyone know how to do that? any suggestion?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 19:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-I-use-value-from-a-context-variable-or-a-global-variable-in/m-p/2365646#M129231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-13T19:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use value from a context variable or a global variable in setHeader component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-I-use-value-from-a-context-variable-or-a-global-variable-in/m-p/2365647#M129232</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Sorry for delay.&lt;/P&gt;
&lt;P&gt;We have redirected your issue to ESB experts and then come back to you as soon as we can.&lt;/P&gt;
&lt;P&gt;Thanks for your time.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 07:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-I-use-value-from-a-context-variable-or-a-global-variable-in/m-p/2365647#M129232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-28T07:38:22Z</dc:date>
    </item>
  </channel>
</rss>

