<?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: How to check if SQL service is working or not in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286987#M60609</link>
    <description>&lt;P&gt;Even I use the tSleep i will loose my queue so, what i am trying to achieve is same use-case while using twaitforfile where I have to wait until db connection is established&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 19:07:22 GMT</pubDate>
    <dc:creator>Bluemoon</dc:creator>
    <dc:date>2017-06-29T19:07:22Z</dc:date>
    <item>
      <title>How to check if SQL service is working or not</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286985#M60607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; I have a user case where I have data in queue (like Active MQ) where I am calling it in route and sending it to DI job using cTalendJob,&lt;/P&gt; 
&lt;P&gt;where in DI job i want to store it into database. But if database server is not working like (service is not working , connection failed due network issue) i am loosing my queue. So, I don't want to lose my data in queue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to know if there any component where It can wait until connection can reestablish the connection.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:36:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286985#M60607</guid>
      <dc:creator>Bluemoon</dc:creator>
      <dc:date>2024-11-16T09:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if SQL service is working or not</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286986#M60608</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;From your description, you can try to build a loop in your work flow.&lt;BR /&gt;Here is a tInfiniteLoop component which allows you to execute a task or a job automatically, based on a loop. Or You can have a look at tSleep component which implements a time off in a Job execution.&lt;/P&gt;
&lt;DIV class="section" lang="en"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 09:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286986#M60608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-28T09:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if SQL service is working or not</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286987#M60609</link>
      <description>&lt;P&gt;Even I use the tSleep i will loose my queue so, what i am trying to achieve is same use-case while using twaitforfile where I have to wait until db connection is established&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 19:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286987#M60609</guid>
      <dc:creator>Bluemoon</dc:creator>
      <dc:date>2017-06-29T19:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if SQL service is working or not</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286988#M60610</link>
      <description>&lt;P&gt;Are you using transaction on the cMQConnectionFactory? &amp;nbsp;If you are in a transaction, you should be able to abort the transaction and that should not take the message off the queue. Are you reading the message from the queue in the DI job or on the route itself?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 19:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286988#M60610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T19:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if SQL service is working or not</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286989#M60611</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-06-29 11_16_46-Talend Data Fabric (6.3.1.20161216_1026) _ ESBDemo (Connection_ Local).png" style="width: 860px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv6r.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154534i287FBA22188AD7D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv6r.png" alt="0683p000009Lv6r.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-06-29 11_17_01-Talend Data Fabric (6.3.1.20161216_1026) _ ESBDemo (Connection_ Local).png" style="width: 904px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvGB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150801iC31327A7CC634372/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvGB.png" alt="0683p000009LvGB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My usecase is get the queue in route and send it to the DI job which will store the queue in DB but for some reason if DB is not working i am loosing my queue how can i prevent my queue from loosing the data&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 19:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286989#M60611</guid>
      <dc:creator>Bluemoon</dc:creator>
      <dc:date>2017-06-29T19:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if SQL service is working or not</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286990#M60612</link>
      <description>&lt;P&gt;You should not use a tDie in a cTalendJob route job. &amp;nbsp;tDie are for batch job, not for route. &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You should use a tRouteFault and throw back a fault into the orchestration route. &amp;nbsp; And just before calling the cTalendJob, add a &lt;STRONG&gt;cJavaDSLProcessor&lt;/STRONG&gt; with the code &lt;STRONG&gt;.handleFault()&lt;/STRONG&gt;.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Your cMQConnectionFactory should have transaction checked.&lt;/P&gt; 
&lt;P&gt;Also why are you doing a tFlowToIterate in the job? &amp;nbsp;You can extract the body values of the tRouteInput directly using a tMap or tXMLMap and send to the MySQLOutput.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The tRouteFault should be onSubjobErrror&amp;nbsp;on tRouteInput.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 07:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286990#M60612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T07:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if SQL service is working or not</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286991#M60613</link>
      <description>&lt;P&gt;I am in a similar situation on Talend Data Service Platform 6.2.1 despite my Talend Job&amp;nbsp;is not about MySQL.&lt;BR /&gt;I tried to add a cJavaDSLProcessor with .handleFault() method but I always got&amp;nbsp;an error like&amp;nbsp;"The method .handleFault() is not defined for the type ExpressionNode" (or similar if I add a cTry block before). What am I doing wrong?&lt;/P&gt; 
&lt;P&gt;Here is the interested part of my route:&lt;/P&gt; 
&lt;PRE&gt;.to("file://"
+ context.message_dir
+ "?noop=true"
+ "&amp;amp;autoCreate=true"
+ "&amp;amp;flatten=false"
+ "&amp;amp;fileName=refund_${in.header.ProcessingDate}_${in.header.platform}_order_${in.header.OrderNumber}.json"
+ "&amp;amp;charset=UTF-8" + "&amp;amp;bufferSize=128")
.id("RefundESBMagento_cFile_1")
.handleFault().id("RefundESBMagento_cJavaDSLProcessor_1")
.to(endpoint_cTalendJob_1).id("RefundESBMagento_cTalendJob_1")
.convertBodyTo(String.class)&amp;nbsp;&lt;/PRE&gt; 
&lt;P&gt;Thanks in advance,&lt;/P&gt; 
&lt;P&gt;Manuel&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2017 15:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286991#M60613</guid>
      <dc:creator>manuel_toniato</dc:creator>
      <dc:date>2017-12-17T15:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if SQL service is working or not</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286992#M60614</link>
      <description>&lt;P&gt;I got the answer just reading some articles on Camel Documentation.&lt;/P&gt;&lt;P&gt;The .handleFault() needs to be added just after the first component of the Route.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2017 20:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286992#M60614</guid>
      <dc:creator>manuel_toniato</dc:creator>
      <dc:date>2017-12-17T20:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if SQL service is working or not</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286993#M60615</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thanks for sharing your solution on forum.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 03:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-SQL-service-is-working-or-not/m-p/2286993#M60615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-18T03:29:06Z</dc:date>
    </item>
  </channel>
</rss>

