We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c975767 commit f181e44Copy full SHA for f181e44
stompy/stomp.py
@@ -84,10 +84,18 @@ def send(self, conf=None):
84
... 'persistent': 'true'})
85
86
"""
87
+ self._send(conf,True)
88
+
89
+ def send_noreceipt(self,conf=None):
90
+ """Send message to STOMP server without receipt
91
+ """
92
+ self._send(conf,False)
93
94
+ def _send(self,conf=None,receipt)
95
headers = dict(conf)
96
body = headers.pop("body", "")
97
return self._send_command("SEND", headers, extra={"body": body},
- want_receipt=True)
98
+ want_receipt=reveipt)
99
100
def _build_frame(self, *args, **kwargs):
101
self._connected_or_raise()
0 commit comments