<?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: Dynamic destination in tMomOutput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360631#M125178</link>
    <description>Hi,&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri," sans-serif=""&gt;Could you please elaborate your case with an example with input and expected output values? Are you referring to context vaule?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri," sans-serif=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri," sans-serif=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Thu, 21 Apr 2016 10:01:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-21T10:01:30Z</dc:date>
    <item>
      <title>Dynamic destination in tMomOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360630#M125177</link>
      <description>&lt;P&gt;Is it possible to control in runtime (on row level) destination queue name used in tMomOutput component (ActiveMQ event bus)?&lt;BR /&gt;I need to build a "router" which will route dynamically incoming messages by different queues.&lt;BR /&gt;Target queue name can be found in one of row attributes (got from database along with data for message contents)&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 22:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360630#M125177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-18T22:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic destination in tMomOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360631#M125178</link>
      <description>Hi,&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri," sans-serif=""&gt;Could you please elaborate your case with an example with input and expected output values? Are you referring to context vaule?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri," sans-serif=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri," sans-serif=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 21 Apr 2016 10:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360631#M125178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T10:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic destination in tMomOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360632#M125179</link>
      <description>I have one input ActiveMQ queue which holds all incoming messages to process (namely "Event.Q") 
&lt;BR /&gt;Trying to build "Dispatcher" Job which will "route" incoming messages on set of different AMQ queues (namely "Proc_xxx.Q") based on incoming JMS property (event_type) to paralellize further processing on multiple threads in separate jobs.&amp;nbsp; 
&lt;BR /&gt;To simplify case, let's stick on 
&lt;B&gt;random &lt;/B&gt;value generated on each incoming row to build a suffix part of destination queue. 
&lt;BR /&gt;In tMomOutput i can observe 2 places where JMSDestination can be set: 
&lt;BR /&gt;1. Basic Settings - To 
&lt;BR /&gt;&amp;nbsp;- Can't obtain here row-based value to set destination. It is&amp;nbsp; 
&lt;I&gt;null&lt;/I&gt; in run-time&amp;nbsp;and causing 
&lt;I&gt; NullPointer Exception&lt;/I&gt; 
&lt;BR /&gt;2. Advanced Settings - Set JMS Header - JMSDestination 
&lt;BR /&gt;&amp;nbsp;- Expect 
&lt;B&gt;Destination &lt;/B&gt;type instead of 
&lt;B&gt;String&lt;/B&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MHE2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150255i799E8374DBA131DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MHE2.png" alt="0683p000009MHE2.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MH5K.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155567iC7BFA7F017ECC360/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MH5K.png" alt="0683p000009MH5K.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MHEW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131699i9E3152CDC8B5C979/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MHEW.png" alt="0683p000009MHEW.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MHEb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131961i306298A6477E9A7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MHEb.png" alt="0683p000009MHEb.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 21 Nov 2016 12:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360632#M125179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-21T12:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic destination in tMomOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360633#M125180</link>
      <description>Hi,&lt;BR /&gt;Did you even manage to solve this issue? I have a similar business case.&lt;BR /&gt;Kind Regads.</description>
      <pubDate>Thu, 29 Dec 2016 13:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360633#M125180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-29T13:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic destination in tMomOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360634#M125181</link>
      <description>I also have a similar scenario--has anyone figured out how to do this?</description>
      <pubDate>Sat, 14 Jan 2017 18:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360634#M125181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-14T18:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic destination in tMomOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360635#M125182</link>
      <description>&lt;P&gt;As the queue initialization is done before tMomOutput we have to explicitly add the following line to update the queue in case if we need to pass the message the dynamic queues. The following line has to be added one step before the to&amp;nbsp;tMomOutput. The tMomOutput&amp;nbsp; To field can be set with the dummy queue name.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;javax.jms.Destination des_tMomOutput_1;&lt;BR /&gt;des_tMomOutput_1 = session_tMomOutput_1.createQueue("DestinationQueueName");&lt;/P&gt; 
&lt;P&gt;producer_tMomOutput_1 = session_tMomOutput_1.createProducer(des_tMomOutput_1);&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 16:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-destination-in-tMomOutput/m-p/2360635#M125182</guid>
      <dc:creator>Jeeva</dc:creator>
      <dc:date>2019-12-19T16:02:38Z</dc:date>
    </item>
  </channel>
</rss>

