<?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 can i deliver XML elements through a JMS? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-can-i-deliver-XML-elements-through-a-JMS/m-p/2196028#M365</link>
    <description>&lt;P&gt;you do not need tIterateToFlow&lt;/P&gt;&lt;P&gt;but you must &lt;STRONG&gt;read&lt;/STRONG&gt; the context of the file and send this data, not the file name&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jan 2019 21:28:19 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2019-01-16T21:28:19Z</dc:date>
    <item>
      <title>How can i deliver XML elements through a JMS?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-i-deliver-XML-elements-through-a-JMS/m-p/2196027#M364</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hi all,&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;we want to deliver XML elements with our Talend job to a JMS endpoint and for this purpose we are using at the moment tJMSOutput as you can see in the picture below:&lt;/FONT&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Bildschirmfoto 2019-01-16 um 14.13.00.png" style="width: 405px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1yU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135311iD78830D382571DB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1yU.png" alt="0683p000009M1yU.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;So the idea is first to list the xml elemnts with tFileList and then with tIterateFlow send them into the TJMSOutput. Is correct the way we want to transmit the XML elements into the TJMSOutput? Do we have to use other elements to transmit/read the element through the pipe into the tJMSOutput?&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;When we run our Talend job, we get an error with the next information:&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#FF0000"&gt;&lt;EM&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;BR /&gt;SLF4J: Found binding in [jar:file:/Users/daniel/Documents/XXX/testDev/.Java/lib/activemq-all-5.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: Found binding in [jar:file:/Users/daniel/Documents/XXX/testDev/.Java/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.&lt;BR /&gt;SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;And the next fatal error:&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;Exception in component tJMSOutput_2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;javax.jms.&lt;STRONG&gt;JMSException: Cannot send, channel has already failed&lt;/STRONG&gt;: tcp://X.X.X.X:54706&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1435)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1522)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:527)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at ean.ean_110_forecast_to_xml_test_final_v02_0_1.EAN_110_FORECAST_TO_XML_TEST_final_v02.tIterateToFlow_1_AIProcess(EAN_110_FORECAST_TO_XML_TEST_final_v02.java:10607)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at ean.ean_110_forecast_to_xml_test_final_v02_0_1.EAN_110_FORECAST_TO_XML_TEST_final_v02.tFileList_1Process(EAN_110_FORECAST_TO_XML_TEST_final_v02.java:10336)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at&lt;/FONT&gt; &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I'm not quite sure what i'm doing wrong. I would be ver thankful for any help.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-i-deliver-XML-elements-through-a-JMS/m-p/2196027#M364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-16T14:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can i deliver XML elements through a JMS?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-i-deliver-XML-elements-through-a-JMS/m-p/2196028#M365</link>
      <description>&lt;P&gt;you do not need tIterateToFlow&lt;/P&gt;&lt;P&gt;but you must &lt;STRONG&gt;read&lt;/STRONG&gt; the context of the file and send this data, not the file name&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 21:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-i-deliver-XML-elements-through-a-JMS/m-p/2196028#M365</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-01-16T21:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can i deliver XML elements through a JMS?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-i-deliver-XML-elements-through-a-JMS/m-p/2196029#M366</link>
      <description>&lt;P&gt;Hi Vapukov,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thank you for your answer and apologize for my late reply. I have continue working in this issue and modified the Talend Job. Im still having the next error in tJMSOutput: "Exception in component tJMSOutput_2&lt;BR /&gt;java.lang.ClassCastException: routines.system.Document cannot be cast to javax.jms.Message&lt;BR /&gt;at "&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Im trying to read the elements obtained thorugh tFileList with a tFileInputXMl and then sending those xmls into the tJMSOutput&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFileList---tFileInputXMl---tJMSOutput&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2019-03-05 um 09.58.26.png" style="width: 328px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2au.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137708i0BB7F85D741B38FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2au.png" alt="0683p000009M2au.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2019-03-05 um 09.52.30.png" style="width: 412px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2w0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128913i6DCC16E445A9B4AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2w0.png" alt="0683p000009M2w0.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do i have to use other elements to make this process? I was following the example showed in help.Talend "&lt;A href="https://help.talend.com/reader/iYcvdknuprDzYycT3WRU8w/rPN_jV8ZS46PRh1IacipVg?section=jzhang-20120420-internet-tmominput_s2" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/iYcvdknuprDzYycT3WRU8w/rPN_jV8ZS46PRh1IacipVg?section=jzhang-20120420-internet-tmominput_s2&lt;/A&gt;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance for your help.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Greetings&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 09:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-i-deliver-XML-elements-through-a-JMS/m-p/2196029#M366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-05T09:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can i deliver XML elements through a JMS?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-i-deliver-XML-elements-through-a-JMS/m-p/2196030#M367</link>
      <description>&lt;P&gt;Okay I have solved now the Problem. I had to use as column in tFileInputXML "messageContent" as string and in tJMSOutput as Processing Mode "Message Content". Im going to check if the results are correct in the ESB but it looks better. Thanks for your help&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2019-03-05 um 10.20.39.png" style="width: 601px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2XQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129011i26D8CC84C562DEE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2XQ.png" alt="0683p000009M2XQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 09:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-i-deliver-XML-elements-through-a-JMS/m-p/2196030#M367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-05T09:22:08Z</dc:date>
    </item>
  </channel>
</rss>

