<?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: Problem with catch exception in route calling job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-catch-exception-in-route-calling-job/m-p/2333857#M102595</link>
    <description>what about using a cOnException component :&lt;BR /&gt;&lt;A href="https://help.talend.com/search/all?query=cOnException&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=cOnException&amp;amp;content-lang=en&lt;/A&gt; &lt;BR /&gt;HTH</description>
    <pubDate>Wed, 20 Mar 2013 13:55:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-20T13:55:14Z</dc:date>
    <item>
      <title>Problem with catch exception in route calling job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-catch-exception-in-route-calling-job/m-p/2333856#M102594</link>
      <description>Hi, 
&lt;BR /&gt;let me explain my problem : i've got a route begining with a WS Rest, then calling a cTalendJob, and finally putting the message in a jms queue. The job called by the route is a simple insert of the message in a database with a stored procedure (tOracleSP). I want to catch exceptions in the whole process so i put a try/catch(Exception.class) in the route just before the cTalendJob. 
&lt;BR /&gt;When a message is received, it is stored in DB and put in the queue =&amp;gt; OK. 
&lt;BR /&gt;When an error occur for example because of a primary key violation in DB storing, the 'catch' route is used and the error is correctly handled =&amp;gt; OK. 
&lt;BR /&gt;But after an error, all following messages are handled as errors in the route, even if they are well stored in DB =&amp;gt; KO ! 
&lt;BR /&gt;How can i reinitilize the error context after an error ? 
&lt;BR /&gt;Thank you for helping.</description>
      <pubDate>Sat, 16 Nov 2024 12:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-catch-exception-in-route-calling-job/m-p/2333856#M102594</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T12:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with catch exception in route calling job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-catch-exception-in-route-calling-job/m-p/2333857#M102595</link>
      <description>what about using a cOnException component :&lt;BR /&gt;&lt;A href="https://help.talend.com/search/all?query=cOnException&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=cOnException&amp;amp;content-lang=en&lt;/A&gt; &lt;BR /&gt;HTH</description>
      <pubDate>Wed, 20 Mar 2013 13:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-catch-exception-in-route-calling-job/m-p/2333857#M102595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-20T13:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with catch exception in route calling job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-catch-exception-in-route-calling-job/m-p/2333858#M102596</link>
      <description>Thank you for your answer. But i have the same behavior with cOnException : after the first unique constraint violation, cOnException catch all messages... do my problem come from the job ?&lt;BR /&gt;For further explanations, my job begin with a tRouteInput, then a tJDBCSP to insert the message in DB, then a tXMLMap to get the technical identifier, and finally a tRouteOutput. Besides, i put a tAssertCatcher + tMap +tRouteOutput to set header properties relative to the error.</description>
      <pubDate>Wed, 20 Mar 2013 14:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-catch-exception-in-route-calling-job/m-p/2333858#M102596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-20T14:53:46Z</dc:date>
    </item>
  </channel>
</rss>

