You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jr...@apache.org on 2018/01/23 20:52:55 UTC
qpid-proton git commit: PROTON-1751: Document that accept doesn't
work with transactions
Repository: qpid-proton
Updated Branches:
refs/heads/master e29f348bc -> 27e33752c
PROTON-1751: Document that accept doesn't work with transactions
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/27e33752
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/27e33752
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/27e33752
Branch: refs/heads/master
Commit: 27e33752c9e684d84728f11aaea2327c5448d30e
Parents: e29f348
Author: Justin Ross <jr...@apache.org>
Authored: Tue Jan 23 12:51:35 2018 -0800
Committer: Justin Ross <jr...@apache.org>
Committed: Tue Jan 23 12:52:20 2018 -0800
----------------------------------------------------------------------
proton-c/bindings/python/proton/reactor.py | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/27e33752/proton-c/bindings/python/proton/reactor.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/proton/reactor.py b/proton-c/bindings/python/proton/reactor.py
index 0fa1c4b..ff4196d 100644
--- a/proton-c/bindings/python/proton/reactor.py
+++ b/proton-c/bindings/python/proton/reactor.py
@@ -363,6 +363,13 @@ class Transaction(object):
return dlv
def accept(self, delivery):
+ """
+ Accept the message corresponding to this delivery.
+
+ Note that this method cannot currently be used in combination
+ with transactions.
+ """
+
self.update(delivery, PN_ACCEPTED)
if self.settle_before_discharge:
delivery.settle()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org