<?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: Keep listening to a Message Queue (tMomInput) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Keep-listening-to-a-Message-Queue-tMomInput/m-p/2297044#M69655</link>
    <description>I'm using Talend Platform for Data Management 5.2.1. And just now testing it out in TOS 5.3.1. One thing I notice has been fixed is I don't need a tLibraryLoad for jms.jar, which I do in 5.2.1</description>
    <pubDate>Tue, 27 Aug 2013 07:10:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-27T07:10:25Z</dc:date>
    <item>
      <title>Keep listening to a Message Queue (tMomInput)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Keep-listening-to-a-Message-Queue-tMomInput/m-p/2297043#M69654</link>
      <description>I am trying to build a job which listens to a message queue (Websphere MQ in this case), and based on the message decides whether to process it or not. If so, it needs to consume the message, but if not, I want to leave the message on the queue. In either case, I want to keep listening to the queue. 
&lt;BR /&gt;I've got "Keep Listening" checked. and "Commit (delete message after read from queue)" unchecked. A tMomRollback and a tMomCommit. But when these components run (and it doesn't seem to matter which one), the messages are still left "uncommitted" on the queue, according to MQ Explorer. 
&lt;BR /&gt;There's (at least) two issues I have here. Firstly, tMomCommit and tMomRollback don't appear to be working as I'd expect them to. This appears to be the as raised in jira as 
&lt;A href="https://jira.talendforge.org/browse/TDI-8554" target="_blank" rel="nofollow noopener noreferrer"&gt;TDI-8554&lt;/A&gt;. My next approach is going to be to put it in a loop rather than "Keep Listening", but any suggestions or help are welcome. 
&lt;BR /&gt;Secondly, to exit this job, I need to kill the VM (Kill from studio, Ctrl-C from command line, etc), which means I can't exit cleanly. That's been raised in jira as 
&lt;A href="https://jira.talendforge.org/browse/TDI-4453" target="_blank" rel="nofollow noopener noreferrer"&gt;TDI-4553&lt;/A&gt;. The only way I can see to deal with that is again, to make the loop myself so I can have an exit condition, or to use Runtime.addShutdownHook()... and that looks like way too much hassle for me at the moment. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MArw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155506i7AD9B8A2D6364F8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MArw.png" alt="0683p000009MArw.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAUd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141048iC6D82EA25F41C62A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAUd.png" alt="0683p000009MAUd.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Keep-listening-to-a-Message-Queue-tMomInput/m-p/2297043#M69654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Keep listening to a Message Queue (tMomInput)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Keep-listening-to-a-Message-Queue-tMomInput/m-p/2297044#M69655</link>
      <description>I'm using Talend Platform for Data Management 5.2.1. And just now testing it out in TOS 5.3.1. One thing I notice has been fixed is I don't need a tLibraryLoad for jms.jar, which I do in 5.2.1</description>
      <pubDate>Tue, 27 Aug 2013 07:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Keep-listening-to-a-Message-Queue-tMomInput/m-p/2297044#M69655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-27T07:10:25Z</dc:date>
    </item>
  </channel>
</rss>

