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
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.
>
>
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.
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.
> >> >
> >> >
> >>
> >
>
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.
>> >
>> >
>>
>
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
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.
>
>
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
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.
>
>
}
}
--
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.
10 matches
Mail list logo