type of AMQP field not recognize

Bug #1022965 reported by Thomas BURGUIERE
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
txAMQP
Fix Released
Undecided
Unassigned

Bug Description

There is some AMQP field that are not implemented in txAMQP.

If I refer to this specification :
http://www.amqp.org/specification/0-9-1/amqp-org-download (specially page 31 of the pdf: Format Protocol Grammar)

I can see some field type that are not implemented in txAMQP (example filed-array)

I'am using a rabbitmq broker with federation plugin which use field-array (I was having a error in my code when receiving this type of field)

I've written a patch to implement encoding/decoding of those field (tested with the filed-array type which don't raise error now).

The field Decimal has been implemented the same way pika has implemented it. http://pypi.python.org/pypi/pika

Revision history for this message
Thomas BURGUIERE (thomas-burguiere) wrote :
description: updated
description: updated
Revision history for this message
Igor Tkach (itkach) wrote :

I encountered the need for field-array and timestamp decoding when consuming expired messages sent to dead letter exchange. I've got a working patch that adds just field-array and timestamp decoding, but then I saw this and gave it a try since it appears to have a comprehensive support for new data types introduced in amqp 0-9-1. However, the patch has a bunch of errors (pylint finds them all, btw). Attached is modified patch with these errors fixed.

Revision history for this message
Thomas BURGUIERE (thomas-burguiere) wrote :

Thanks for the fixed patch, which I confirm is better than mine and working :)

Changed in txamqp:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.