Justin Ross created QPID-6238:
---------------------------------
Summary: Expose receiver.available and receiver.capacity
Key: QPID-6238
URL: https://issues.apache.org/jira/browse/QPID-6238
Project: Qpid
Issue Type: Improvement
Components: Python Client (Wrapped)
Reporter: Justin Ross
What you get atm:
{noformat}
[jross@localhost bin]$ python
Python 2.7.5 (default, Sep 25 2014, 13:52:19)
[GCC 4.8.3 20140624 (Red Hat 4.8.3-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from qpid_messaging import *
>>> conn = Connection("localhost:5672")
>>> conn.open()
>>> sess = conn.session()
>>> link = sess.receiver("test")
>>> link.available
<bound method Receiver.available of <qpid_messaging.Receiver; proxy of <Swig
Object of type 'qpid::messaging::Receiver *' at 0x1bb2a80> >>
>>> link.unsettled
<bound method Receiver.unsettled of <qpid_messaging.Receiver; proxy of <Swig
Object of type 'qpid::messaging::Receiver *' at 0x1bb2a80> >>
>>>
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]