<?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: Capture Source Information in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237286#M25762</link>
    <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;This can probably be optionally captured by tRESTRequest and saved in the request context. The short term solution is to do, in Java,&lt;BR /&gt;HttpServletRequest req = (HttpServletRequest)org.apache.cxf.jaxrs.utils.JAXRSUtils.getCurrentMessage().get("HTTP.REQUEST"); &lt;BR /&gt;and check the client info...&lt;BR /&gt;I'll open a minor new feature request in meantime&lt;BR /&gt;Cheers, Sergey&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Thank you Sergey. I think this would work in the interim.&amp;nbsp;</description>
    <pubDate>Mon, 05 Oct 2015 14:08:03 GMT</pubDate>
    <dc:creator>root</dc:creator>
    <dc:date>2015-10-05T14:08:03Z</dc:date>
    <item>
      <title>Capture Source Information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237284#M25760</link>
      <description>Is there any quick and easy way to capture source request information (like IP address/ hostname/ client details/ and anything else) of the source calling the REST request?&amp;nbsp;</description>
      <pubDate>Sat, 16 Nov 2024 11:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237284#M25760</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2024-11-16T11:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Source Information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237285#M25761</link>
      <description>This can probably be optionally captured by tRESTRequest and saved in the request context. The short term solution is to do, in Java,
&lt;BR /&gt;HttpServletRequest req = (HttpServletRequest)org.apache.cxf.jaxrs.utils.JAXRSUtils.getCurrentMessage().get("HTTP.REQUEST"); 
&lt;BR /&gt;and check the client info...
&lt;BR /&gt;I'll open a minor new feature request in meantime
&lt;BR /&gt;Cheers, Sergey</description>
      <pubDate>Sun, 04 Oct 2015 21:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237285#M25761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-04T21:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Source Information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237286#M25762</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;This can probably be optionally captured by tRESTRequest and saved in the request context. The short term solution is to do, in Java,&lt;BR /&gt;HttpServletRequest req = (HttpServletRequest)org.apache.cxf.jaxrs.utils.JAXRSUtils.getCurrentMessage().get("HTTP.REQUEST"); &lt;BR /&gt;and check the client info...&lt;BR /&gt;I'll open a minor new feature request in meantime&lt;BR /&gt;Cheers, Sergey&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Thank you Sergey. I think this would work in the interim.&amp;nbsp;</description>
      <pubDate>Mon, 05 Oct 2015 14:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237286#M25762</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2015-10-05T14:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Source Information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237287#M25763</link>
      <description>Sorry to bring up this old post.
&lt;BR /&gt;This statement is not returning any client IP address. Any help is appreciated
&lt;BR /&gt;
&lt;PRE&gt;HttpServletRequest req = (HttpServletRequest)org.apache.cxf.jaxrs.utils.JAXRSUtils.getCurrentMessage().get("HTTP.REQUEST");&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237287#M25763</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2017-02-23T16:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Source Information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237288#M25764</link>
      <description>See 
&lt;A href="http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getRemoteAddr()" rel="nofollow noopener noreferrer"&gt;http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getRemoteAddr()&lt;/A&gt;</description>
      <pubDate>Thu, 23 Feb 2017 17:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237288#M25764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-23T17:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Source Information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237289#M25765</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;See &lt;A href="http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getRemoteAddr()" target="_blank" rel="nofollow noopener noreferrer"&gt;http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getRemoteAddr()&lt;/A&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi, That does not work for me. it says&amp;nbsp; 
&lt;BR /&gt;I used:&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;HttpServletRequest req = (HttpServletRequest)org.apache.cxf.jaxrs.utils.JAXRSUtils.getCurrentMessage().getRemoteAddr();&lt;BR /&gt;System.out.println(req);&lt;/PRE&gt; 
&lt;BR /&gt;Error: 
&lt;BR /&gt; 
&lt;PRE&gt;Execution failed : Job compile errors &lt;BR /&gt;At least job "ac_mq" has a compile errors, please fix and export again.&lt;BR /&gt;Error Line: 1841&lt;BR /&gt;Detail Message: The method getRemoteAddr() is undefined for the type Message&lt;BR /&gt;There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.&lt;BR /&gt;Job ac_mq ended at 13:28 23/02/2017. &lt;/PRE&gt; 
&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 23 Feb 2017 18:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237289#M25765</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2017-02-23T18:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Source Information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237290#M25766</link>
      <description>Any help please? Thank you.</description>
      <pubDate>Tue, 28 Feb 2017 15:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Source-Information/m-p/2237290#M25766</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2017-02-28T15:11:39Z</dc:date>
    </item>
  </channel>
</rss>

