<?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: reQueue message if SOAP calls fails in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259393#M40885</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't&amp;nbsp;need to retry/loop it x times but &lt;STRONG&gt;put it into a queue&amp;nbsp;if&amp;nbsp;the SOAP action/call&amp;nbsp;fails&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Mon, 31 Dec 2018 10:44:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-31T10:44:01Z</dc:date>
    <item>
      <title>reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259391#M40883</link>
      <description>&lt;P&gt;Hi Community !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm quiet new to Talend and i'm still learning but here's my issue :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've a route which takes a xml message from the Queue and pass it to the cSOAP component.&lt;/P&gt; 
&lt;P&gt;I'd like to find a way to requeue the message if the SOAP call fails, is it possible ?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Should i use a job to do that ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="U0FRIm4.png" style="width: 403px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M27W.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152745iD2E13394087DF890/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M27W.png" alt="0683p000009M27W.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;It currently uses a cErrorHandler but it doesn't fit my needs.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;I use :&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;- Talend ESB 7.1.1.20181026_1147&lt;/P&gt; 
&lt;P&gt;- ActiveMQ&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259391#M40883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259392#M40884</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Here is a cLoop component which processes messages repetitively and possibly in different ways.&lt;/P&gt;
&lt;P&gt;&lt;A title="https://help.talend.com/reader/1kWlkHx_7IKc6y3wZ0GMsg/eTqvr3f6CLDXbPiNYEiVng" href="https://help.talend.com/reader/1kWlkHx_7IKc6y3wZ0GMsg/eTqvr3f6CLDXbPiNYEiVng" target="_self" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/1kWlkHx_7IKc6y3wZ0GMsg/eTqvr3f6CLDXbPiNYEiVng&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Let us know if it helps.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Sat, 29 Dec 2018 07:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259392#M40884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-29T07:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259393#M40885</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't&amp;nbsp;need to retry/loop it x times but &lt;STRONG&gt;put it into a queue&amp;nbsp;if&amp;nbsp;the SOAP action/call&amp;nbsp;fails&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2018 10:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259393#M40885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-31T10:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259394#M40886</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; In that case, the first step you need to do is to capture the input message to a tHashOutput for later use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Then you can send the data to SOAP request and based on the success or failure message, you can create a RunIf condition to read the Hash value using tHashInput and pass the value to output failure queue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Please note that you will have to clear the Hash details by reading the data using tHashInput for both success and failure cases and by selecting the hash clear option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;tHashInput and tHashOutput may not visible in the Palette. In that case, you need to go to Palette preference to select these components.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2018 11:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259394#M40886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-31T11:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259395#M40887</link>
      <description>&lt;P&gt;Hello !&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you for you reply !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is this the good way of doing it ? How can i access the message within the "Run if" condition ?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mb9QGDi.png" style="width: 761px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2DZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127959i5F16FA54A6D0978C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2DZ.png" alt="0683p000009M2DZ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards and Happy new year !&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACs.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141919i6FF43AE03ADE78A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACs.png" alt="0683p000009MACs.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 13:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259395#M40887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-04T13:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259396#M40888</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; A minor modification is needed as you need to first collect the output of the SOAP request back to a context variable (may be by using a tjavarow to assign the value to context variable) and then initiate the run if conditions.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 12:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259396#M40888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-08T12:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259397#M40889</link>
      <description>&lt;P&gt;Our approach to this (tREST rather than tSOAP, but the same principle should apply) by writing the failed content to a file and calling a subsequent job that retries the&amp;nbsp;failures. This could be the same job but with context variables that define the input and output files, or a separate job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We use a separate job with an additional delay in between calls in case the failure was an API rate limit, and we are happy to only retry it once. We could call the retry job in a loop with some logic to detect records that are never going to work, but we decided that that would be a manual process if necessary.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 14:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259397#M40889</guid>
      <dc:creator>PhilHibbs</dc:creator>
      <dc:date>2019-01-08T14:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259398#M40890</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;There's absolutly no need of a job to do this !&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1) Between your MQ and your cSoap use a cSetProperty to store the initial message body into a property&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2) after your Exception component, add a cSetBody that will put your property into the body again, then add a cJMS component to send the message back to the queue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3) beware of dead loop , there are several options for this, for instance you could add a cProcessor that will count the number of times the same message has been executed, or whatever you want.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Arnaud&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 14:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259398#M40890</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2019-01-14T14:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259399#M40891</link>
      <description>&lt;P&gt;Thanks for those responses&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the thing is that i need to print both message into a file.&lt;/P&gt;&lt;P&gt;(message i sent to the soap request and message i get back from the soap request)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 14:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259399#M40891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-17T14:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259400#M40892</link>
      <description>&lt;P&gt;Very easy if you store the sent message into a header or a property as I said before. Just add a cProcessor at the end of your route with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;exchange.getIn().setBody( exchange.getIn().getHeader("myHeader",String.class) + exchange.getIn().getBody(String.class) ) Then add a cMessagingEndpoint to store this into a file.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 14:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259400#M40892</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2019-01-17T14:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259401#M40893</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When you says :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;2) after your Exception component, add a cSetBody that will put your property into 
the body again, then add a cJMS component to send the message back to the queue.&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;cErrorHandler can't be a start Node.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3HC8zb1.png" style="width: 754px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M248.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144324iB2F2644D9E6103FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M248.png" alt="0683p000009M248.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 09:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259401#M40893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-18T09:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259402#M40894</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Instead of gfcErrorHandler, use cOnexception --&amp;gt; cProcessor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can call any java code you want, in cProcessor or from a bean for easier development.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 09:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259402#M40894</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2019-01-18T09:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259403#M40895</link>
      <description>&lt;P&gt;Hi !&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Thanks for your help, i'll try to make it work following your guidance. I'm not used to ESB routes so i need to learn &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;  &lt;SPAN&gt;use a cSetProperty to store the initial message body into a property&lt;/SPAN&gt;&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Not sure how i can do that ....&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 10:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259403#M40895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-18T10:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: reQueue message if SOAP calls fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259404#M40896</link>
      <description>&lt;P&gt;cProcessor :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;exchange.getIn().setProperty( "pInitialBody", exchange.getIn().getBody(String.class)) ;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 15:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reQueue-message-if-SOAP-calls-fails/m-p/2259404#M40896</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2019-01-25T15:29:43Z</dc:date>
    </item>
  </channel>
</rss>

