<?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: tJMSOutput body + header in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tJMSOutput-body-header/m-p/2369707#M132826</link>
    <description>Hi, 
&lt;BR /&gt;It's works ! 
&lt;BR /&gt;After tXMLMap, we get a message with Document type . 
&lt;BR /&gt;In tJavaRow we transform message into String type and in our ouput tJavaRow we set message to object type. 
&lt;BR /&gt;javax.jms.TextMessage m = session_tJMSOutput_1.createTextMessage(); 
&lt;BR /&gt;m.setText(customers.message.toString()); 
&lt;BR /&gt;m.setStringProperty("Action","Update"); 
&lt;BR /&gt;output_row.message = m; 
&lt;BR /&gt;An another question 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;, when I send 2 xml in my queue MQ. When I get the first xml, he is fine but the second is&amp;nbsp;the first one (xml) and the second concatenate. 
&lt;BR /&gt;I need to clear the queue between two sending ? 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Loïc</description>
    <pubDate>Thu, 16 Jul 2015 14:27:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-07-16T14:27:39Z</dc:date>
    <item>
      <title>tJMSOutput body + header</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJMSOutput-body-header/m-p/2369705#M132824</link>
      <description>Hello,
&lt;BR /&gt;In my jobs I use tJMSOutput and in my route I call cJMS.
&lt;BR /&gt;When I use tJMSOutput I want to pass a xml and some data in header.
&lt;BR /&gt;It's possible ?
&lt;BR /&gt;Best regards,
&lt;BR /&gt;lmartin</description>
      <pubDate>Sat, 16 Nov 2024 11:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJMSOutput-body-header/m-p/2369705#M132824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: tJMSOutput body + header</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJMSOutput-body-header/m-p/2369706#M132825</link>
      <description>Hi, 
&lt;BR /&gt;Can you try to put a JavaRow with such a code before your tJMSOutput&amp;nbsp; 
&lt;BR /&gt;javax.jms.TextMessage m = session_tJMSOutput_1.createTextMessage(); 
&lt;BR /&gt;m.setText(message); 
&lt;BR /&gt;m.setStringProperty("Action","Update"); 
&lt;BR /&gt;output_row.message = m; 
&lt;BR /&gt;And set processing Mode as &amp;nbsp;"RawMessage" in tJMSOutput to see if it works? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 07 Jul 2015 11:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJMSOutput-body-header/m-p/2369706#M132825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-07T11:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: tJMSOutput body + header</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJMSOutput-body-header/m-p/2369707#M132826</link>
      <description>Hi, 
&lt;BR /&gt;It's works ! 
&lt;BR /&gt;After tXMLMap, we get a message with Document type . 
&lt;BR /&gt;In tJavaRow we transform message into String type and in our ouput tJavaRow we set message to object type. 
&lt;BR /&gt;javax.jms.TextMessage m = session_tJMSOutput_1.createTextMessage(); 
&lt;BR /&gt;m.setText(customers.message.toString()); 
&lt;BR /&gt;m.setStringProperty("Action","Update"); 
&lt;BR /&gt;output_row.message = m; 
&lt;BR /&gt;An another question 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;, when I send 2 xml in my queue MQ. When I get the first xml, he is fine but the second is&amp;nbsp;the first one (xml) and the second concatenate. 
&lt;BR /&gt;I need to clear the queue between two sending ? 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Loïc</description>
      <pubDate>Thu, 16 Jul 2015 14:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJMSOutput-body-header/m-p/2369707#M132826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-16T14:27:39Z</dc:date>
    </item>
  </channel>
</rss>

