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.

Reply via email to