<?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: XML data as Text message for a tMomOutput component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/XML-data-as-Text-message-for-a-tMomOutput-component/m-p/2366216#M129726</link>
    <description>Hi all,
&lt;BR /&gt;After several tries I could not make this work, but what I see it's the key of the problem is that code:
&lt;BR /&gt;String msgBody_tMomOutput_1 = String.valueOf(row2.id);
&lt;BR /&gt;javax.jms.TextMessage message_tMomOutput_1 = 
&lt;BR /&gt;session_tMomOutput_1.createTextMessage(msgBody_tMomOutput_1);
&lt;BR /&gt;This id is part of the schema of my data, and the point is that I need to send more attributes of my schema, but I could not find where to define which data is sent, as I have setup in the row link from previous step to tMomOutput to send all attributes for this schema.
&lt;BR /&gt;Any ideas on how to include more attributes in the message sent?</description>
    <pubDate>Fri, 30 Mar 2012 11:20:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-03-30T11:20:32Z</dc:date>
    <item>
      <title>XML data as Text message for a tMomOutput component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-data-as-Text-message-for-a-tMomOutput-component/m-p/2366215#M129725</link>
      <description>Hi all,
&lt;BR /&gt;I am new to Talend ESB Studio, and I am trying to setup a tMomOutput component that sends a Text message that is a XML string.
&lt;BR /&gt;I have tried to use a tFileInputXML that reads a XML file with its File xml schema, but this is only sending the first attribute as I see in the ActiveMQ admin console.
&lt;BR /&gt;Also I have tried tRowGenerator to create some data, then passing this to tFileOutputXML and then to tMomOutput, and despite this creates a xml file, this is not sent to tMomOutput.
&lt;BR /&gt;What component do I need to just read the content of a file and not parsing it at all?
&lt;BR /&gt;
&lt;BR /&gt;Thank you in advance.</description>
      <pubDate>Sat, 16 Nov 2024 12:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-data-as-Text-message-for-a-tMomOutput-component/m-p/2366215#M129725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: XML data as Text message for a tMomOutput component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-data-as-Text-message-for-a-tMomOutput-component/m-p/2366216#M129726</link>
      <description>Hi all,
&lt;BR /&gt;After several tries I could not make this work, but what I see it's the key of the problem is that code:
&lt;BR /&gt;String msgBody_tMomOutput_1 = String.valueOf(row2.id);
&lt;BR /&gt;javax.jms.TextMessage message_tMomOutput_1 = 
&lt;BR /&gt;session_tMomOutput_1.createTextMessage(msgBody_tMomOutput_1);
&lt;BR /&gt;This id is part of the schema of my data, and the point is that I need to send more attributes of my schema, but I could not find where to define which data is sent, as I have setup in the row link from previous step to tMomOutput to send all attributes for this schema.
&lt;BR /&gt;Any ideas on how to include more attributes in the message sent?</description>
      <pubDate>Fri, 30 Mar 2012 11:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-data-as-Text-message-for-a-tMomOutput-component/m-p/2366216#M129726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-30T11:20:32Z</dc:date>
    </item>
  </channel>
</rss>

