<?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: tjmsinput bytes message in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tjmsinput-bytes-message/m-p/2223066#M16418</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you please check your "Code" tab in your job to see if there will be your compile error highlighted in red line? If so, please post the error code screenshot on forum as well.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2018 09:41:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-06T09:41:21Z</dc:date>
    <item>
      <title>tjmsinput bytes message</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tjmsinput-bytes-message/m-p/2223065#M16417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We have a requirement where we need to write data to Postgresql DB from tjmsinput. tjmsinput is failing with below error . We are getting xml data from the source. Anyway to resolve this issue.&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Starting job tjmsinput at 18:44 04/11/2018.&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;[statistics] connecting to socket on port 3388&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;[statistics] connected&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Ready to receive message&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Waiting...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;[FATAL]: talend_etl_project.tjmsinput_0_1.tjmsinput - tJMSInput_1 org.apache.activemq.command.ActiveMQBytesMessage cannot be cast to javax.jms.TextMessage&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;java.lang.ClassCastException: org.apache.activemq.command.ActiveMQBytesMessage cannot be cast to javax.jms.TextMessage&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at talend_etl_project.tjmsinput_0_1.tjmsinput.tJMSInput_1Process(tjmsinput.java:910)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at talend_etl_project.tjmsinput_0_1.tjmsinput.runJobInTOS(tjmsinput.java:4758)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at talend_etl_project.tjmsinput_0_1.tjmsinput.main(tjmsinput.java:4564)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Exception in component tJMSInput_1 (tjmsinput)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;java.lang.ClassCastException: org.apache.activemq.command.ActiveMQBytesMessage cannot be cast to javax.jms.TextMessage&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at talend_etl_project.tjmsinput_0_1.tjmsinput.tJMSInput_1Process(tjmsinput.java:910)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at talend_etl_project.tjmsinput_0_1.tjmsinput.runJobInTOS(tjmsinput.java:4758)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at talend_etl_project.tjmsinput_0_1.tjmsinput.main(tjmsinput.java:4564)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;[statistics] disconnected&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Job tjmsinput ended at 18:46 04/11/2018. [exit code=1]&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If I keep the message content as byte in the source, I am getting the error as in the pic.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-11-04 19_17_10-Amazon WorkSpaces.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0qo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153586iBD708ECD26E89AEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0qo.png" alt="0683p000009M0qo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018_11_04_19_14_44_Amazon_WorkSpaces.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0QS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157765i295484F38F9E5FB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0QS.png" alt="0683p000009M0QS.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tjmsinput-bytes-message/m-p/2223065#M16417</guid>
      <dc:creator>ravi999</dc:creator>
      <dc:date>2024-11-16T07:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: tjmsinput bytes message</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tjmsinput-bytes-message/m-p/2223066#M16418</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you please check your "Code" tab in your job to see if there will be your compile error highlighted in red line? If so, please post the error code screenshot on forum as well.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 09:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tjmsinput-bytes-message/m-p/2223066#M16418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-06T09:41:21Z</dc:date>
    </item>
  </channel>
</rss>

