[
https://issues.apache.org/jira/browse/PROTON-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409217#comment-17409217
]
ASF subversion and git services commented on PROTON-2430:
---------------------------------------------------------
Commit 7f2fd8d97283937d9f479ae425d0b11f822055f3 in qpid-proton's branch
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=7f2fd8d ]
PROTON-2430: Changed python binding to use pn_message_set/get_id/correlation_id
Stop using pn_message_id/pn_message_correlation_id which are inherently
ineefficient and should be deprecated.
Added in a SWIG typemap for pn_msgid_t that knows the types that are
necessary for msgid types.
> [python] Modify binding to stop using potentially inefficient pn_message_id
> et al
> ---------------------------------------------------------------------------------
>
> Key: PROTON-2430
> URL: https://issues.apache.org/jira/browse/PROTON-2430
> Project: Qpid Proton
> Issue Type: Improvement
> Components: python-binding
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Major
>
> pn_message_id and pn_message_correlation_id return a pn_data_t to represent
> what is onyl allowed to be a scalar value which is more efficiently
> represented and handled as a pn_atom_t (now actually the restricted
> pn_msgid_t).
> If we stop using them then we can deprecate them and shift the implementation
> away from unecessary use of pn_data_t.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]