<?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: Loop/Retry tPOP compenent on connection error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266986#M46019</link>
    <description>Hello
&lt;BR /&gt;Put the tPop process into a child job, use a tRunJob to call the child job in father job, uncheck the box 'die on error' on tRunJob. eg:
&lt;BR /&gt;father job:
&lt;BR /&gt;tFileInputDelimited---main---&amp;gt;tFlowToIterate--iterate---tRunJob
&lt;BR /&gt;child job:
&lt;BR /&gt;tPop
&lt;BR /&gt;tFileInputDelimited: read all the account from a file
&lt;BR /&gt;tFlowToIterate: iterate each account
&lt;BR /&gt;tRunJob: call the child job, pass each account to child job by context variable(see 1654).
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
    <pubDate>Wed, 29 Sep 2010 03:24:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-09-29T03:24:17Z</dc:date>
    <item>
      <title>Loop/Retry tPOP compenent on connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266984#M46017</link>
      <description>Hello, 
&lt;BR /&gt;I have created a Talend Job in TOS 4.0.1 that connects to various e-mail accounts using the tPOP component and downloads the emails locally, fairly simple and straight forward. 
&lt;BR /&gt;The problem that I am encountering is that the tPOP component errors out if there is a connection failure or timeout, and the TOS job quits. What I would like to do is have the job not quit, but rather retry the POP connection a few more times or until it is successful, however when I try to do processing to catch the error based on component error, the job still quites. I also noticed that TOS does not easily allow you to loop back to an earlier part of the process flow. 
&lt;BR /&gt;So basically, I would like to catch the tPOP component error. If the error has to do with authentication, ssl handshake, etc., move on to the next e-mail account in the list to process, but if the error is a connection timeout then retry the connection for the account that just failed. 
&lt;BR /&gt;I appreciate any suggestions, recommendations, or insights on the best way to go about handling this. 
&lt;BR /&gt;I hope this makes sense and that someone can help. Please let me know if you require further details. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Tim.</description>
      <pubDate>Sat, 16 Nov 2024 13:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266984#M46017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Loop/Retry tPOP compenent on connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266985#M46018</link>
      <description>I'm interested in doing the same thing, but I'm using tFileFetch instead of tPOP. Any solutions?</description>
      <pubDate>Tue, 28 Sep 2010 19:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266985#M46018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-28T19:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Loop/Retry tPOP compenent on connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266986#M46019</link>
      <description>Hello
&lt;BR /&gt;Put the tPop process into a child job, use a tRunJob to call the child job in father job, uncheck the box 'die on error' on tRunJob. eg:
&lt;BR /&gt;father job:
&lt;BR /&gt;tFileInputDelimited---main---&amp;gt;tFlowToIterate--iterate---tRunJob
&lt;BR /&gt;child job:
&lt;BR /&gt;tPop
&lt;BR /&gt;tFileInputDelimited: read all the account from a file
&lt;BR /&gt;tFlowToIterate: iterate each account
&lt;BR /&gt;tRunJob: call the child job, pass each account to child job by context variable(see 1654).
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 29 Sep 2010 03:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266986#M46019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-29T03:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loop/Retry tPOP compenent on connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266987#M46020</link>
      <description>Hello, 
&lt;BR /&gt;I have a slightly differnent requirement for the retry loop. My requirement is: When a child job fails, try again. If it succeeds after retry, report the whole Father job as success. If not, try again. If the child job still fails after these 3 tries, report Failure. Otherwise, report success. 
&lt;BR /&gt;By uncheck "die on error", the child job gets executed 3 times. However, if all 3 tries fail, the exit code is still 0. I want to know how I can set the exit code to 1 (report error) after the 3 failed attempts. 
&lt;BR /&gt;Thanks for your help. 
&lt;BR /&gt;C. Long</description>
      <pubDate>Fri, 29 Jul 2011 22:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266987#M46020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-29T22:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Loop/Retry tPOP compenent on connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266988#M46021</link>
      <description>Hi 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;However, if all 3 tries fail, the exit code is still 0. I want to know how I can set the exit code to 1 (report error) after the 3 failed attempts.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You can use a tDie component to customize an error code.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Sun, 31 Jul 2011 04:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266988#M46021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-31T04:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Loop/Retry tPOP compenent on connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266989#M46022</link>
      <description>shong,
&lt;BR /&gt;Thanks for the response.
&lt;BR /&gt;C. Long</description>
      <pubDate>Thu, 04 Aug 2011 02:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266989#M46022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-04T02:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Loop/Retry tPOP compenent on connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266990#M46023</link>
      <description>Hello,
&lt;BR /&gt;Has anyone tried extracting emails from other mail boxes like "SENT MAIL"/"TRASH"/etc. using IMAP configuration in tPOP3 component?
&lt;BR /&gt;Please let me know if anyone has succeeded doing this using TALEND Components.
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Jagadish.</description>
      <pubDate>Tue, 28 Jan 2014 10:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-Retry-tPOP-compenent-on-connection-error/m-p/2266990#M46023</guid>
      <dc:creator>jagadish_dasari</dc:creator>
      <dc:date>2014-01-28T10:06:19Z</dc:date>
    </item>
  </channel>
</rss>

