qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jr...@apache.org
Subject qpid-proton git commit: PROTON-1751: Document that accept doesn't work with transactions
Date Tue, 23 Jan 2018 20:52:55 GMT
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 <jross@apache.org>
Authored: Tue Jan 23 12:51:35 2018 -0800
Committer: Justin Ross <jross@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


Mime
View raw message