Re: MapMessages from Python to Java

2009-11-04 Thread ngcdan12
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 seem

Re: MapMessages from Python to Java

2009-11-02 Thread James Casey
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 > > > 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. > >

Re: MapMessages from Python to Java

2009-11-02 Thread ngcdan12
I had to also enable the Stomp connector in the activemq.xml file stored in the activemq directory, by adding 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.

Re: MapMessages from Python to Java

2009-10-30 Thread Dejan Bosanac
gt; > > >> > Dan > >> > > >> > > >> > Hi, > >> > > >> > are you sure you're sending map messages from Python? > >> > > >> > If you use Stomp protocol, you have to send your data xml or json > encoded > >> > and use "transformation" header to specify how data should be > converted > >> to > >> > Java. I suggest you read this > >> > > >> > http://cwiki.apache.org/confluence/display/ACTIVEMQ/Stomp#Stomp-Messagetransformationsand > >> > look at StompTest ( > >> > > >> > http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java?view=markup > >> ) > >> > for some more examples. > >> > > >> > You can also use py-activemq (http://code.google.com/p/pyactivemq/) > lib > >> > which can use OpenWire and CMS API to send map messages naturally. > >> > > >> > Cheers > >> > -- > >> > Dejan Bosanac - http://twitter.com/dejanb > >> > > >> > Open Source Integration - http://fusesource.com/ > >> > ActiveMQ in Action - http://www.manning.com/snyder/ > >> > Blog - http://www.nighttale.net > >> > > >> > > >> > -- > >> > View this message in context: > >> > http://www.nabble.com/MapMessages-from-Python-to-Java-tp26070536p26123324.html > >> > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >> > > >> > > >> > > >

Re: MapMessages from Python to Java

2009-10-30 Thread James Casey
a. I suggest you read this >> > >> http://cwiki.apache.org/confluence/display/ACTIVEMQ/Stomp#Stomp-Messagetransformationsand >> > look at StompTest ( >> > >> http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java?view=markup >> ) >> > for some more examples. >> > >> > You can also use py-activemq (http://code.google.com/p/pyactivemq/) lib >> > which can use OpenWire and CMS API to send map messages naturally. >> > >> > Cheers >> > -- >> > Dejan Bosanac - http://twitter.com/dejanb >> > >> > Open Source Integration - http://fusesource.com/ >> > ActiveMQ in Action - http://www.manning.com/snyder/ >> > Blog - http://www.nighttale.net >> > >> > >> > -- >> > View this message in context: >> http://www.nabble.com/MapMessages-from-Python-to-Java-tp26070536p26123324.html >> > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > >> > >> >

Re: MapMessages from Python to Java

2009-10-30 Thread Dejan Bosanac
che.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java?view=markup > ) > > for some more examples. > > > > You can also use py-activemq (http://code.google.com/p/pyactivemq/) lib > > which can use OpenWire and CMS API to

Re: MapMessages from Python to Java

2009-10-30 Thread James Casey
py-activemq (http://code.google.com/p/pyactivemq/) lib > which can use OpenWire and CMS API to send map messages naturally. > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > -- > View this message in context: > http://www.nabble.com/MapMessages-from-Python-to-Java-tp26070536p26123324.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >

Re: MapMessages from Python to Java

2009-10-29 Thread ngcdan12
Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net -- View this message in context: http://www.nabble.com/MapMessages-from-Python-to-Java-tp26070536p26123324.html Sent from the

Re: MapMessages from Python to Java

2009-10-27 Thread Dejan Bosanac
Msg = (MapMessage) msg; >try{System.out.println("getText() "+mapMsg.getString("marking")); >}catch(JMSException e) {} >} >} > > > -- > View this message in context: > http://www.nabble.com/MapMessages-from-Python-to-Java-tp26070536p26070536.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >

MapMessages from Python to Java

2009-10-26 Thread ngcdan12
} } -- View this message in context: http://www.nabble.com/MapMessages-from-Python-to-Java-tp26070536p26070536.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.