<?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 How to capture X-Forwarded-For (tRestRequest) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298495#M70948</link>
    <description>Hi, I am using tRestRequest. I want to capture " X-Forwarded-For" parameter from the header of the incoming message. 
&lt;BR /&gt;When I am adding that parameter in tRestRequest, it does not allow me to do that. Please advise. Thank you. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDhJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137141iA98B176C9905A1F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDhJ.png" alt="0683p000009MDhJ.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDLg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147365i7A68F572F15A4E9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDLg.png" alt="0683p000009MDLg.png" /&gt;&lt;/span&gt;&amp;nbsp;</description>
    <pubDate>Sat, 16 Nov 2024 09:59:46 GMT</pubDate>
    <dc:creator>root</dc:creator>
    <dc:date>2024-11-16T09:59:46Z</dc:date>
    <item>
      <title>How to capture X-Forwarded-For (tRestRequest)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298495#M70948</link>
      <description>Hi, I am using tRestRequest. I want to capture " X-Forwarded-For" parameter from the header of the incoming message. 
&lt;BR /&gt;When I am adding that parameter in tRestRequest, it does not allow me to do that. Please advise. Thank you. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDhJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137141iA98B176C9905A1F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDhJ.png" alt="0683p000009MDhJ.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDLg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147365i7A68F572F15A4E9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDLg.png" alt="0683p000009MDLg.png" /&gt;&lt;/span&gt;&amp;nbsp;</description>
      <pubDate>Sat, 16 Nov 2024 09:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298495#M70948</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2024-11-16T09:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture X-Forwarded-For (tRestRequest)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298496#M70949</link>
      <description>&lt;PRE&gt;X-Forwarded-For&lt;/PRE&gt;&lt;BR /&gt;illegal name for column - Talend (Java) not accept some characters in names - "-", space and etc</description>
      <pubDate>Wed, 15 Mar 2017 07:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298496#M70949</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-03-15T07:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture X-Forwarded-For (tRestRequest)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298497#M70950</link>
      <description>sorry, seems no chance. there is an issue with the same roots - 
&lt;A href="https://jira.talendforge.org/browse/TESB-13797" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TESB-13797&lt;/A&gt; - consider please vote for it.</description>
      <pubDate>Wed, 15 Mar 2017 11:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298497#M70950</guid>
      <dc:creator>atelesh</dc:creator>
      <dc:date>2017-03-15T11:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture X-Forwarded-For (tRestRequest)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298498#M70951</link>
      <description>In meantime check request context properties such as "ALL_HEADER_PARAMS" and "ALL_QUERY_PARAMS" 
&lt;BR /&gt;thanks, Sergey</description>
      <pubDate>Wed, 15 Mar 2017 11:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298498#M70951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-15T11:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture X-Forwarded-For (tRestRequest)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298499#M70952</link>
      <description>yes, indeed! 
&lt;BR /&gt;thanks for the hint, Sergey! 
&lt;BR /&gt;forgot I already answered such question (even several times 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;). 
&lt;BR /&gt;so please try following way to retrieve the header in tJavaRow or tJavaFlex component right after tRESTRequest component: 
&lt;BR /&gt; 
&lt;PRE&gt;((javax.ws.rs.core.MultivaluedMap&amp;lt;String, String&amp;gt;) ((java.util.Map&amp;lt;String, Object&amp;gt;) globalMap.get("restRequest")).get("ALL_HEADER_PARAMS")).getFirst("X-Forwarded-For")&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Mar 2017 12:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298499#M70952</guid>
      <dc:creator>atelesh</dc:creator>
      <dc:date>2017-03-15T12:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture X-Forwarded-For (tRestRequest)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298500#M70953</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;yes, indeed!&lt;BR /&gt;thanks for the hint, Sergey!&lt;BR /&gt;forgot I already answered such question (even several times &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;).&lt;BR /&gt;so please try following way to retrieve the header in tJavaRow or tJavaFlex component right after tRESTRequest component: &lt;BR /&gt;&lt;PRE&gt;((javax.ws.rs.core.MultivaluedMap&amp;lt;String, String&amp;gt;) ((java.util.Map&amp;lt;String, Object&amp;gt;) globalMap.get("restRequest")).get("ALL_HEADER_PARAMS")).getFirst("X-Forwarded-For")&lt;/PRE&gt;&lt;BR /&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Sergey, atelesh: 
&lt;BR /&gt;This works, Thank you....&amp;nbsp;</description>
      <pubDate>Wed, 15 Mar 2017 12:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298500#M70953</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2017-03-15T12:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture X-Forwarded-For (tRestRequest)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298501#M70954</link>
      <description>It could be really helpful if Talend has some facade pattern for this king of access either like:&lt;BR /&gt;InboundContext.getHeaders.getXForwardFor()&lt;BR /&gt;or&amp;nbsp;&lt;BR /&gt;InboundContext.getHeaders.get("Name")&lt;BR /&gt;I love the tree metadata information of the inbound and outbound contexts for example in Oracle Service Bus, here in Talend it is not that well organized and easily accessible.</description>
      <pubDate>Sat, 18 Mar 2017 00:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298501#M70954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-18T00:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture X-Forwarded-For (tRestRequest)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298502#M70955</link>
      <description>headers map can be easily exposed using component variables regular way in Studio.
&lt;BR /&gt;(actually message context also - as more generic way)
&lt;BR /&gt;Alex</description>
      <pubDate>Mon, 20 Mar 2017 12:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-capture-X-Forwarded-For-tRestRequest/m-p/2298502#M70955</guid>
      <dc:creator>atelesh</dc:creator>
      <dc:date>2017-03-20T12:44:13Z</dc:date>
    </item>
  </channel>
</rss>

