[
https://issues.apache.org/jira/browse/QPID-5104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gordon Sim resolved QPID-5104.
------------------------------
Resolution: Fixed
Fix Version/s: 0.25
> Python Swig bindings do not expose Message properties in the same manner as
> the pure Python bindings
> ----------------------------------------------------------------------------------------------------
>
> Key: QPID-5104
> URL: https://issues.apache.org/jira/browse/QPID-5104
> Project: Qpid
> Issue Type: Bug
> Affects Versions: 0.22
> Reporter: Darryl L. Pierce
> Assignee: Gordon Sim
> Fix For: 0.25
>
>
> With the pure Python bindings, message properties can be assigned using:
> In [3]: msg.properties
> Out[3]: {}
> In [4]: msg.properties["foo"] = "bar"
> In [5]: msg.properties
> Out[5]: {'foo': 'bar'}
> However, in the Swig python bindings this results in the property never being
> set. This is because the call to properties appears to be calling the
> underlying C++ code and returning a _copy_ of the properties map:
> In [3]: msg.properties
> Out[3]: {}
> In [4]: msg.properties["foo"] = "bar"
> In [5]: msg.properties
> Out[5]: {}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]