Unknown properties are silently ignored
Bug #942525 reported by
Aurélien Bompard
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.
Changed in txamqp: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks! I just committed your patch to trunk.