<?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 tmomconnection disconnect while using keep listening mode in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tmomconnection-disconnect-while-using-keep-listening-mode/m-p/2354579#M120523</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a job design wherein two tmominput are running in tparralize , with keep listening mode.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since keep listening is blocking in nature the job control flow stays at tmominput.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have below scenario to be handled:&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- scrnario1 : whenever one of the tmominput parallel job disconnects due to error, need to identify which one got disconnected​, apparently its tricky to identify that , tried using another tparrallel thread which gets invoked when one of the two threads fail&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scenario2- : whenever one of the tmominput thread fails , explicity disconnect another tmominput thread, tried this with tcommit in the another parallel thread mentioned above but seems disconnecting gets stuck unless there is a message in the tmominput&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: already tried with dropping a message to tmominput,  but exploring if there is a more direct way. &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​could anyone please advise on this&lt;/P&gt;</description>
    <pubDate>Sun, 23 Jul 2023 03:14:52 GMT</pubDate>
    <dc:creator>BipinNS</dc:creator>
    <dc:date>2023-07-23T03:14:52Z</dc:date>
    <item>
      <title>tmomconnection disconnect while using keep listening mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmomconnection-disconnect-while-using-keep-listening-mode/m-p/2354579#M120523</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a job design wherein two tmominput are running in tparralize , with keep listening mode.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since keep listening is blocking in nature the job control flow stays at tmominput.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have below scenario to be handled:&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- scrnario1 : whenever one of the tmominput parallel job disconnects due to error, need to identify which one got disconnected​, apparently its tricky to identify that , tried using another tparrallel thread which gets invoked when one of the two threads fail&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scenario2- : whenever one of the tmominput thread fails , explicity disconnect another tmominput thread, tried this with tcommit in the another parallel thread mentioned above but seems disconnecting gets stuck unless there is a message in the tmominput&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: already tried with dropping a message to tmominput,  but exploring if there is a more direct way. &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​could anyone please advise on this&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 03:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmomconnection-disconnect-while-using-keep-listening-mode/m-p/2354579#M120523</guid>
      <dc:creator>BipinNS</dc:creator>
      <dc:date>2023-07-23T03:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: tmomconnection disconnect while using keep listening mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmomconnection-disconnect-while-using-keep-listening-mode/m-p/2354580#M120524</link>
      <description>&lt;P&gt;Hi @Bipin Shakya​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest you try the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scenario 1: use a tLogCatcher on your job. The "origin" column of tLogCatcher component will tell the component that resulted in an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scenario 2: connect each tMomInput to a tDie component using OnComponentError Trigger. On tDie component advanced settings, enable the option "Exit the JVM immediately".&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 21:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmomconnection-disconnect-while-using-keep-listening-mode/m-p/2354580#M120524</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-07-23T21:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: tmomconnection disconnect while using keep listening mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmomconnection-disconnect-while-using-keep-listening-mode/m-p/2354581#M120525</link>
      <description>&lt;P&gt;Thanks for the response. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried implementing as you've advised, had below observations: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;when using OnComponentError for both tmompinut flow in tparallize, actually either tmompinput flow can fail at other connected downstream components as well. I tried testing with OnSubjectError to capture any failure to the entire flow, but noticed that some errors are not even captured like jvm out of memory error when happens, its not caputured in OnSubjectError as well as in tLogCatcher. &lt;B&gt; Could there be a more accurate way to capture all the failures.&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;tLogCatcher when gets invoked is useful , gives the origin component&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to below snapshot of the sample job for my scenario: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;whenever one of the tMomInput disconnects, can capture that using (Wait for first). But without ending the jvm, is there a way to explictly disconnect the tmominput connection, so that only the tparallelize ends.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000lvqA5AAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134789i9AB08DA5F95FDB9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000lvqA5AAI.png" alt="0695b00000lvqA5AAI.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 05:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmomconnection-disconnect-while-using-keep-listening-mode/m-p/2354581#M120525</guid>
      <dc:creator>BipinNS</dc:creator>
      <dc:date>2023-07-25T05:08:25Z</dc:date>
    </item>
  </channel>
</rss>

