Hey guys,

Thanks for the response.  I made a Python script with the above code.  

import stomp

dest='MQ-X.1234.X-1.RadarTracks' 
conn = stomp.Connection([('stomp:\\localhost',61616)]) 
conn.start() 
conn.connect() 
message = {'field1' : 'foo', 'field2' : 'bar'} 

conn.send(message, destination=dest, headers={'transformation' : 
    'jms-map-xml'}, ack='auto') 
conn.disconnect() 

When I run this script I get a 
No handlers could be found for logger "stomp.py", warning message/error.  

I do not seem to be receiving any messages from my java message listener
either.  Is this an error I should be worried about?  Also on my java
listener I put the url as "stomp://localhost:61616"; which seems to run ok.
I then connect to the broker using ActiveMQConnectionFactory class. I had to
also enable the Stomp connector in the activemq.xml file stored in the
activemq directory, by adding
<transportConnector name="stomp" uri="stomp://localhost:61616"/> 

Thanks,

Dan
-- 
View this message in context: 
http://old.nabble.com/MapMessages-from-Python-to-Java-tp26070536p26157767.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to