activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albert Strasheim <full...@gmail.com>
Subject Re: Pythin and MapMessage
Date Fri, 15 Jun 2007 19:27:42 GMT
On Fri, 15 Jun 2007, Elliotte Harold wrote:

> Has anyone gotten PyActiveMQ to work with ActiveMQ and MapMessages? Are
> there known bugs with this configuration?
> 
> One of our Python folks is pushing me to use TextMessages instead of
> MapMessages because (he claims) MapMessages don't work in Python. Thoughts?

I think I've figured out what happened...

Your Python folks were using Stomp with MapMessage, which causes 
PyActiveMQ to throw a UserWarning containing the message "caught 
unknown exception" instead of a more useful "No Stomp Support" message.

This incorrect message was due to a minor bug in AMQCPP. It should be 
fixed shortly.

https://issues.apache.org/activemq/browse/AMQCPP-131

I've updated the pyactivemq tests to check that the exception contains 
a useful message.

Regards,

Albert

P.S. My previous suggestion still stands: if you want to use PyActiveMQ 
with MapMessage, you need to use the Openwire wire format.

Mime
View raw message