<?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: problems using tMomInput with Message Body Type = Map Message in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306913#M78403</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Talend is using org.apache.activemq Java classes&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Or perhaps not; it looks like javax.jms.MessageProducer is being used to create the actual message.</description>
    <pubDate>Thu, 21 Jan 2010 16:40:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-01-21T16:40:03Z</dc:date>
    <item>
      <title>problems using tMomInput with Message Body Type = Map Message</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306910#M78400</link>
      <description>My initial prototype using a tMomInput with Message Body Type = Text Message was successful. Since we plan to pass multi-valued messages, now I'm prototyping Message Body Type = Map Message, but without success. You can see that my AMQ message is JMS, with JSON-encoded product_id. 
&lt;BR /&gt;$ sudo ./bin/activemq-admin browse --amqurl tcp://localhost:61616 product.changed 
&lt;BR /&gt;Java Runtime: Sun Microsystems Inc. 1.5.0_04 /usr/lib/jvm/java-1.5.0.04/jre 
&lt;BR /&gt; Heap sizes: current=1984k free=1628k max=65088k 
&lt;BR /&gt; JVM args: -Dactivemq.classpath=/opt/activemq/conf; -Dactivemq.home=/opt/activemq -Dactivemq.base=/opt/activemq 
&lt;BR /&gt;ACTIVEMQ_HOME: /opt/activemq 
&lt;BR /&gt;ACTIVEMQ_BASE: /opt/activemq 
&lt;BR /&gt;JMS_CUSTOM_FIELD:transformation-error = product_id : product_id 
&lt;BR /&gt;JMS_CUSTOM_FIELD:transformation = jms-map-json 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSDestination = product.changed 
&lt;BR /&gt; 
&lt;FONT color="#FF0000"&gt;JMS_BODY_FIELD:JMSText = {"product_id":5478688}&lt;/FONT&gt; 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSDeliveryMode = non-persistent 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSMessageID = ID:aheinz-49598-1263325250665-4:10:-1:1:1 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSExpiration = 0 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSPriority = 0 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSRedelivered = false 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSTimestamp = 1263327856169 
&lt;BR /&gt;But when I run the job after reconfiguring as a map message, it fails trying to cast an ActiveMQTextMessage to a MapMessage. 
&lt;BR /&gt;Starting job ProductMessage at 15:21 12/01/2010. 
&lt;BR /&gt; connecting to socket on port 3441 
&lt;BR /&gt; connected 
&lt;BR /&gt;Connecting to URL: tcp://localhost:61616 
&lt;BR /&gt;Consuming queue: product.changed 
&lt;BR /&gt;We will consume messages while they continue to be delivered 
&lt;BR /&gt; 
&lt;FONT color="#FF0000"&gt;Exception in component tMomInput_1&lt;BR /&gt;java.lang.ClassCastException: org.apache.activemq.command.ActiveMQTextMessage&lt;BR /&gt; at lulu_etl.productmessage_0_1.ProductMessage.tMomInput_1Process(ProductMessage.java:355)&lt;BR /&gt; at lulu_etl.productmessage_0_1.ProductMessage.runJobInTOS(ProductMessage.java:601)&lt;BR /&gt; at lulu_etl.productmessage_0_1.ProductMessage.main(ProductMessage.java:494)&lt;/FONT&gt; 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job ProductMessage ended at 15:21 12/01/2010. 
&lt;BR /&gt;Ideas? Is this a bug, or a misconfiguration on my part?</description>
      <pubDate>Sat, 16 Nov 2024 13:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306910#M78400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: problems using tMomInput with Message Body Type = Map Message</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306911#M78401</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;java.lang.ClassCastException: org.apache.activemq.command.ActiveMQTextMessage&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;There should be a bug, we will refactor tMomxxx component, see 6112. Please add a note on this feature or report a new bug on our bugtracker. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 13 Jan 2010 03:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306911#M78401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-13T03:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: problems using tMomInput with Message Body Type = Map Message</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306912#M78402</link>
      <description>&lt;B&gt;map message created by StompMessageMap in PHP:&lt;/B&gt; 
&lt;BR /&gt;JMS_CUSTOM_FIELD:transformation-error = product_id : product_id 
&lt;BR /&gt;JMS_CUSTOM_FIELD:transformation = jms-map-json 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSDestination = product.changed 
&lt;BR /&gt;JMS_BODY_FIELD:JMSText = {"product_id":5478688} 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSDeliveryMode = non-persistent 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSMessageID = ID:aheinz.rdu.lulu.com-40204-1263845710959-4:4:-1:1:1 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSExpiration = 0 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSPriority = 0 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSRedelivered = false 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSTimestamp = 1264088710853 
&lt;BR /&gt; 
&lt;B&gt;map message created by tMomOutput&lt;/B&gt; 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSExpiration = 0 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSMessageID = ID:aheinz.rdu.lulu.com-42800-1264088975819-0:0:1:1:1 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSPriority = 4 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSDestination = product.changed 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSTimestamp = 1264088976327 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSDeliveryMode = non-persistent 
&lt;BR /&gt;JMS_HEADER_FIELD:JMSRedelivered = false 
&lt;BR /&gt;Reading the 1.1 specification ( 
&lt;A href="http://java.sun.com/products/jms/docs.html" rel="nofollow noopener noreferrer"&gt;http://java.sun.com/products/jms/docs.html&lt;/A&gt;), it doesn't appear to demand any particular message implementation on the wire. Further reading on the subject suggests that JMS interoperability problems are not uncommon. Talend is using org.apache.activemq Java classes and STOMP purports to be a JMS client for ActiveMQ. I'll keep looking.</description>
      <pubDate>Thu, 21 Jan 2010 16:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306912#M78402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-21T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: problems using tMomInput with Message Body Type = Map Message</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306913#M78403</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Talend is using org.apache.activemq Java classes&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Or perhaps not; it looks like javax.jms.MessageProducer is being used to create the actual message.</description>
      <pubDate>Thu, 21 Jan 2010 16:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306913#M78403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-21T16:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: problems using tMomInput with Message Body Type = Map Message</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306914#M78404</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Or perhaps not; it looks like javax.jms.MessageProducer is being used to create the actual message.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Scratch that, javax.jms.MessageProducer is an interface that org.apache.activemq factories are creating instances of.</description>
      <pubDate>Thu, 21 Jan 2010 16:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problems-using-tMomInput-with-Message-Body-Type-Map-Message/m-p/2306914#M78404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-21T16:51:29Z</dc:date>
    </item>
  </channel>
</rss>

