[
https://issues.apache.org/jira/browse/PROTON-2873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18043975#comment-18043975
]
ASF subversion and git services commented on PROTON-2873:
---------------------------------------------------------
Commit 478d99301d8c44ab7372400ee71faf21b10c14b7 in qpid-proton's branch
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=478d99301 ]
PROTON-2873: [Python] Allow Delivery.update to take Disposition
To allow more convenient local delivery disposition updates allow update
to take a LocalDisposition object and use that for the update as well as
a disposition type.
Also allow TransactionalDisposition to take a Disposition outcome as
well as a disposisiton type for convenience of creating a more complex
transactional disposition update. At this point the underlying C API
only allows the outcome type to be recorded though.
> 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
> Fix For: proton-c-0.41.0
>
>
> 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]