[
https://issues.apache.org/jira/browse/PROTON-2873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17932450#comment-17932450
]
ASF subversion and git services commented on PROTON-2873:
---------------------------------------------------------
Commit 3670d8eba63123c7dfa9e942312e19094f746a88 in qpid-proton's branch
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=3670d8eba ]
PROTON-2873: Use the new disposition API in python
This is a substantial change to the Python disposition API:
* Split functionality into local and remote disposition as each
have different purposes and access to attributes.
* Allow assigning remote dispositions to local delivery
* Add python tests
> Reorganize delivery disposition API and representation
> ------------------------------------------------------
>
> Key: PROTON-2873
> URL: https://issues.apache.org/jira/browse/PROTON-2873
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-c
> Affects Versions: proton-c-0.40.0
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Major
>
> The internal representation and modelling for delivery dispositions is
> significantly different from the model of dispositions in the AMQP spec.
> One case in point causes the disposition representation to use more space
> than necessary as every field in every possible type of disposition is
> present. A better representation would be a union of the different
> disposistion types so that only the needed fields of whichever specific type
> of disposition is being used is present.
> For the present this would need to be additional APIs to maintain backwards
> compatibility. But the current disposition API should be deprecated and could
> be removed for a 1.0 release.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]