<?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 consume messages selectively using cJMS from ActiveMQ topic in Talend Route in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-consume-messages-selectively-using-cJMS-from-ActiveMQ/m-p/2263834#M43867</link>
    <description>&lt;P&gt;Thanks for your response rchinta_talend.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm really new to this and as per my understanding I need to add the header first and then use that header as my selector. I tried changing the flow, please check the screenshot.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Header Setting" style="width: 757px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0W5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149552i22D488F56D4E78AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0W5.jpg" alt="0683p000009M0W5.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Header Setting&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selector" style="width: 664px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0Pt.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153927iF9FE1ECFF3A56376/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0Pt.jpg" alt="0683p000009M0Pt.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Selector&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="publisher cjms" style="width: 622px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0U5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135780i6681444120A3EE14/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0U5.jpg" alt="0683p000009M0U5.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;publisher cjms&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried understanding the documentation, but i didn't get any source to write the below expression.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;selector = header_FIELDNAME header_FIELDVALUE_using_sql_expresssion. &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;If it's not too much to ask, an example for the same would work for the me.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I'm still confused, &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;should I add the header and use it as selector in advance properties of consumer JMS?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;or should I add the properties in advance options of publisher JMS and same properties in consumer JMS?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;or should I not add the header at all?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;How can I use the selector to filter?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Oct 2018 17:45:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-16T17:45:58Z</dc:date>
    <item>
      <title>How to consume messages selectively using cJMS from ActiveMQ topic in Talend Route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-consume-messages-selectively-using-cJMS-from-ActiveMQ/m-p/2263832#M43865</link>
      <description>&lt;P&gt;I'm using Talend route and the cJMS component to push and pull message from the ActiveMQ topic.&lt;/P&gt;
&lt;P&gt;I need to retrieve the message on the basis of some property so that message can be differentiated for the multiple consumers of the topic. How and Where can I set this property so that while pulling the message from MQ I can use it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried the URI properties in the "advance settings" of cJMS component but still it is picking all the messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I achieve this? Let me know if I can provide any other information.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-consume-messages-selectively-using-cJMS-from-ActiveMQ/m-p/2263832#M43865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to consume messages selectively using cJMS from ActiveMQ topic in Talend Route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-consume-messages-selectively-using-cJMS-from-ActiveMQ/m-p/2263833#M43866</link>
      <description>Hi you need to use JMS selectors for filtering messages.
&lt;BR /&gt;try using in advanced options
&lt;BR /&gt;selector = header_FIELDNAME header_FIELDVALUE_using_sql_expresssion
&lt;BR /&gt;see camel documentation for selector
&lt;BR /&gt;
&lt;A href="http://camel.apache.org/jms.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/jms.html&lt;/A&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Oct 2018 17:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-consume-messages-selectively-using-cJMS-from-ActiveMQ/m-p/2263833#M43866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-16T17:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to consume messages selectively using cJMS from ActiveMQ topic in Talend Route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-consume-messages-selectively-using-cJMS-from-ActiveMQ/m-p/2263834#M43867</link>
      <description>&lt;P&gt;Thanks for your response rchinta_talend.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm really new to this and as per my understanding I need to add the header first and then use that header as my selector. I tried changing the flow, please check the screenshot.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Header Setting" style="width: 757px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0W5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149552i22D488F56D4E78AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0W5.jpg" alt="0683p000009M0W5.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Header Setting&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selector" style="width: 664px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0Pt.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153927iF9FE1ECFF3A56376/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0Pt.jpg" alt="0683p000009M0Pt.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Selector&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="publisher cjms" style="width: 622px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0U5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135780i6681444120A3EE14/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0U5.jpg" alt="0683p000009M0U5.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;publisher cjms&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried understanding the documentation, but i didn't get any source to write the below expression.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;selector = header_FIELDNAME header_FIELDVALUE_using_sql_expresssion. &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;If it's not too much to ask, an example for the same would work for the me.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I'm still confused, &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;should I add the header and use it as selector in advance properties of consumer JMS?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;or should I add the properties in advance options of publisher JMS and same properties in consumer JMS?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;or should I not add the header at all?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;How can I use the selector to filter?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 17:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-consume-messages-selectively-using-cJMS-from-ActiveMQ/m-p/2263834#M43867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-16T17:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to consume messages selectively using cJMS from ActiveMQ topic in Talend Route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-consume-messages-selectively-using-cJMS-from-ActiveMQ/m-p/2263835#M43868</link>
      <description>&lt;P&gt;In my publisher route I used the cSetHeader to add a header with my message ("Header", "MyHeader" ).&lt;/P&gt; 
&lt;P&gt;In my subscriber route, in the advance properties of cJMS component i added a selector like following&lt;/P&gt; 
&lt;P&gt;"selector" ,"Header = 'MyHeader'".&lt;/P&gt; 
&lt;P&gt;Using this I'm able to pick messages selectively from the Topic.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your help, rchinta_talend!!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 10:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-consume-messages-selectively-using-cJMS-from-ActiveMQ/m-p/2263835#M43868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-18T10:21:16Z</dc:date>
    </item>
  </channel>
</rss>

