Unknown properties are silently ignored

Bug #942525 reported by Aurélien Bompard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txAMQP
Fix Released
Medium
Unassigned

Bug Description

The list of allowed message properties is fixed, and if an unsupported property is added to a message, it is silently ignored. It took me some time to discover that the delivery mode is set by the "delivery-mode" property, not "delivery_mode" or "delivery mode" as can be seen on some online examples (not about txAMQP).

I suggest a warning message when a message contains an unsupported property, since it will not be transmitted to the server.

Attached is a script to reproduce the problem, and a suggested patch to add a warning log.

Revision history for this message
Aurélien Bompard (aurelien-bompard) wrote :
Revision history for this message
Aurélien Bompard (aurelien-bompard) wrote :
Revision history for this message
Esteve Fernandez (esteve) wrote :

Thanks! I just committed your patch to trunk.

Changed in txamqp:
importance: Undecided → Medium
status: New → Fix Committed
Changed in txamqp:
status: Fix Committed → 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.