<?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 tJMSInput selector usage in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tJMSInput-selector-usage/m-p/2336623#M105049</link>
    <description>Hi, how to user selector at tJMSInput component? 
&lt;BR /&gt; 
&lt;BR /&gt;I have JMS Message with Properties IterationID with values 1,2,3.. 
&lt;BR /&gt; 
&lt;BR /&gt;MESSAGE_FROM field 
&lt;I&gt;"queue.test?selector=IterationID=1"&lt;/I&gt; does not work. 
&lt;BR /&gt; 
&lt;BR /&gt;How to set MESSAGE_SELECTOR_EXPRESSION? "IterationID=1" does not work. 
&lt;BR /&gt; 
&lt;BR /&gt;Could you provide me an working example? 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks, Martin 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;PS: JMS Messages are created via tJMSOutput with help of tJavaRow 
&lt;BR /&gt; 
&lt;BR /&gt;javax.jms.TextMessage m = session_tJMSOutput_1.createTextMessage(); 
&lt;BR /&gt;m.setText(input_row.message); 
&lt;BR /&gt;m.setStringProperty("IterationID","1"); 
&lt;BR /&gt;output_row.message = m;</description>
    <pubDate>Sat, 16 Nov 2024 10:02:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:02:58Z</dc:date>
    <item>
      <title>tJMSInput selector usage</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJMSInput-selector-usage/m-p/2336623#M105049</link>
      <description>Hi, how to user selector at tJMSInput component? 
&lt;BR /&gt; 
&lt;BR /&gt;I have JMS Message with Properties IterationID with values 1,2,3.. 
&lt;BR /&gt; 
&lt;BR /&gt;MESSAGE_FROM field 
&lt;I&gt;"queue.test?selector=IterationID=1"&lt;/I&gt; does not work. 
&lt;BR /&gt; 
&lt;BR /&gt;How to set MESSAGE_SELECTOR_EXPRESSION? "IterationID=1" does not work. 
&lt;BR /&gt; 
&lt;BR /&gt;Could you provide me an working example? 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks, Martin 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;PS: JMS Messages are created via tJMSOutput with help of tJavaRow 
&lt;BR /&gt; 
&lt;BR /&gt;javax.jms.TextMessage m = session_tJMSOutput_1.createTextMessage(); 
&lt;BR /&gt;m.setText(input_row.message); 
&lt;BR /&gt;m.setStringProperty("IterationID","1"); 
&lt;BR /&gt;output_row.message = m;</description>
      <pubDate>Sat, 16 Nov 2024 10:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJMSInput-selector-usage/m-p/2336623#M105049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: tJMSInput selector usage</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJMSInput-selector-usage/m-p/2336624#M105050</link>
      <description>From ActiveMQ DOCS: 
&lt;BR /&gt;The JMS spec states that a String property should not get converted to a numeric when used in a selector. So for example, if a message has the 'age' property set to String '21' then the following selector should not match it: 'age &amp;gt; 18'. Since ActiveMQ support STOMP client which can only send messages with string properties, that restriction is a bit limiting. If you want your JMS selectors to auto-convert String properties the the appropriate number type, just prefix the the selector with 'convert_string_expressions:'. If you changed selector in the previous example to be 'convert_string_expressions:age &amp;gt; 18', then it would match the message. 
&lt;BR /&gt;Therefore: 
&lt;BR /&gt;MESSAGE_SELECTOR_EXPRESSION? "IterationID= 
&lt;B&gt;'1'&lt;/B&gt;"</description>
      <pubDate>Fri, 24 Feb 2017 12:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJMSInput-selector-usage/m-p/2336624#M105050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T12:43:52Z</dc:date>
    </item>
  </channel>
</rss>

