Re: MapMessages from Python to Java

2009-11-04 Thread ngcdan12
ging warning, check what version of stomp.py you're using - > the issue with the logger is fixed in more recent versions (e.g. > 2.0.4) > > Finally, note that you can have your java consumer listen via openwire > and your python producer send via STOMP, you just need to add 2 &

Re: MapMessages from Python to Java

2009-11-02 Thread ngcdan12
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=

Re: MapMessages from Python to Java

2009-10-29 Thread ngcdan12
Hello Dejan, Python is sending mapmessages directly to the MQ server :). I am wondering about the Stomp protocol. The example you listed below is for a Java implementaion of Stomp. I am actually having a problem with the MapMessage being sent from the Python side. So I would need to convert t

MapMessages from Python to Java

2009-10-26 Thread ngcdan12
Hello, I have a seperate application that was made in python that is currently using Active Mq to send map messages to a ACtive MQ server with a topic. I then have another application written in java that has a message listener set up to receive messages from the same topic. Now i have tested t