Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/qpid-proton
/ on_message
Method
on_message
python/examples/tx_recv_interactive.py:38–40 ·
view source on GitHub ↗
(self, event)
Source
from the content-addressed store, hash-verified
36
self.transaction = None
37
38
def
on_message(self, event):
39
print(event.message.body)
40
self.transaction.accept(event.delivery)
41
42
def
on_transaction_declared(self, event):
43
self.transaction = event.transaction
Callers
nothing calls this directly
Calls
2
print
Function · 0.85
accept
Method · 0.45
Tested by
no test coverage detected