<?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: DB Connection Re-try in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/DB-Connection-Re-try/m-p/2292962#M65985</link>
    <description>Hi, 
&lt;BR /&gt;Could you please take a look at this scenario: 
&lt;A href="https://help.talend.com//pages/viewpage.action?pageId=265112034#Raa73244" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;cenario: Job execution in a loop&lt;/A&gt;&amp;nbsp;to see if it is satisfying your needs? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
    <pubDate>Mon, 20 Jun 2016 08:46:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-20T08:46:12Z</dc:date>
    <item>
      <title>DB Connection Re-try</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Connection-Re-try/m-p/2292961#M65984</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a requirement where I have to re-try DB Connection for 5 times untill it connects. A flow like this:&lt;BR /&gt;start-&amp;gt;Db Connect-&amp;gt; if connection succeeds-&amp;gt;go to next component&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt;if connection fails-&amp;gt;sleep for 5 seconds-&amp;gt;re-try for 5 more times-&amp;gt;if connection succeeds-&amp;gt; go to next component&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;if connection fails -&amp;gt; die&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 08:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Connection-Re-try/m-p/2292961#M65984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-20T08:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connection Re-try</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Connection-Re-try/m-p/2292962#M65985</link>
      <description>Hi, 
&lt;BR /&gt;Could you please take a look at this scenario: 
&lt;A href="https://help.talend.com//pages/viewpage.action?pageId=265112034#Raa73244" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;cenario: Job execution in a loop&lt;/A&gt;&amp;nbsp;to see if it is satisfying your needs? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 20 Jun 2016 08:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Connection-Re-try/m-p/2292962#M65985</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-20T08:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connection Re-try</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Connection-Re-try/m-p/2292963#M65986</link>
      <description>You need to establish a loop, try your connection. determine if it was successful. break loop on success. sleep and retry on failure. break loop when you've tried x (5) times.
&lt;BR /&gt;Test for success and failure after loop.
&lt;BR /&gt;
&lt;BR /&gt;You may be able to use OnSubjobOk and OnSubjobError to determine success or failure.
&lt;BR /&gt;
&lt;BR /&gt;If these connectors do not cut it, you can also set-up your own Exception Handler, using tJavaFlex. Sometimes you want to know a little more able why it's failed. There's no point in retrying if your password is wrong, as you may simply lockout the account and have more headaches to sort out.
&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.talendbyexample.com/talend-tjavaflex-component-reference.html" rel="nofollow noopener noreferrer"&gt;http://www.talendbyexample.com/talend-tjavaflex-component-reference.html&lt;/A&gt;</description>
      <pubDate>Mon, 20 Jun 2016 08:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Connection-Re-try/m-p/2292963#M65986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-20T08:48:25Z</dc:date>
    </item>
  </channel>
</rss>

