[ 
https://issues.apache.org/jira/browse/PROTON-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625320#comment-17625320
 ] 

ASF subversion and git services commented on PROTON-2636:
---------------------------------------------------------

Commit 2b0e5e3e200dd70342f875f1c190d3c3433dbb05 in qpid-protonj2's branch 
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=2b0e5e3e ]

PROTON-2636 Allow the awaitAccepted API to work inside a transaction

The transactional state type should check the carried outcome to see if
that outcome is accepted and report that state when the tracker asks if
the state is accepted.

> [protonj2] Allow the awaitAccepted API to work with transactional states
> ------------------------------------------------------------------------
>
>                 Key: PROTON-2636
>                 URL: https://issues.apache.org/jira/browse/PROTON-2636
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: protonj2
>    Affects Versions: protonj2-1.0.0-M10
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Minor
>             Fix For: protonj2-1.0.0-M11
>
>
> The Tracker API has an awaitAccepted() call which should work even for sends 
> that are accepted in a transaction but currently doesn't handle that case.  
> We can make this simpler by supporting that case when the outcome in the 
> transactional state is Accepted.  This streamlines the code path for wrapper 
> code that works either in or out of a transaction.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to